Main Page   Modules   Data Structures   File List   Data Fields  

svn_version.h

00001 /**
00002  * @copyright
00003  * ====================================================================
00004  * Copyright (c) 2000-2004 CollabNet.  All rights reserved.
00005  *
00006  * This software is licensed as described in the file COPYING, which
00007  * you should have received as part of this distribution.  The terms
00008  * are also available at http://subversion.tigris.org/license-1.html.
00009  * If newer versions of this license are posted there, you may use a
00010  * newer version instead, at your option.
00011  *
00012  * This software consists of voluntary contributions made by many
00013  * individuals.  For exact contribution history, see the revision
00014  * history and logs, available at http://subversion.tigris.org/.
00015  * ====================================================================
00016  * @endcopyright
00017  *
00018  * @file svn_version.h
00019  * @brief Version information.
00020  */
00021 
00022 #ifndef SVN_VERSION_H
00023 #define SVN_VERSION_H
00024 
00025 /* Hack to prevent the resource compiler from including
00026    apr_general.h.  It doesn't resolve the include paths
00027    correctly and blows up without this.
00028  */
00029 #ifndef APR_STRINGIFY
00030 #include <apr_general.h>
00031 #endif
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif /* __cplusplus */
00036 
00037 
00038 /* Symbols that define the version number. */
00039 
00040 /* Version numbers: <major>.<minor>.<micro>
00041  *
00042  * The version numbers in this file follow the rules established by:
00043  *
00044  *   http://apr.apache.org/versioning.html
00045  */
00046 
00047 /** Major version number.
00048  *
00049  * Modify when incompatible changes are made to published interfaces.
00050  */
00051 #define SVN_VER_MAJOR      1
00052 
00053 /** Minor version number.
00054  *
00055  * Modify when new functionality is added or new interfaces are
00056  * defined, but all changes are backward compatible.
00057  */
00058 #define SVN_VER_MINOR      0
00059 
00060 /** Patch number.
00061  *
00062  * Modify for every released patch.
00063  */
00064 #define SVN_VER_MICRO      9
00065 
00066 /** Library version number.
00067  *
00068  * Modify whenever there's an incompatible change in the library ABI.
00069  * ### this is semantically equivalent to SVN_VER_MAJOR. fix...
00070  */
00071 #define SVN_VER_LIBRARY    1
00072 
00073 
00074 /** Version tag: a string describing the version.
00075  *
00076  * This tag remains " (dev build)" in the repository so that we can
00077  * always see from "svn --version" that the software has been built
00078  * from the repository rather than a "blessed" distribution.
00079  *
00080  * When rolling a tarball, we automatically replace this text with ""
00081  * for final releases; in prereleases, it becomes " (Alpha)",
00082  * " (Beta 1)", etc., as appropriate.
00083  *
00084  * Always change this at the same time as SVN_VER_NUMTAG.
00085  */
00086 #define SVN_VER_TAG        " (r11378)"
00087 
00088 
00089 /** Number tag: a string describing the version.
00090  *
00091  * This tag is used to generate a version number string to identify
00092  * the client and server in HTTP requests, for example. It must not
00093  * contain any spaces. This value remains "-dev" in the repository.
00094  *
00095  * When rolling a tarball, we automatically replace this text with ""
00096  * for final releases; in prereleases, it becomes "-alpha", "-beta1",
00097  * etc., as appropriate.
00098  *
00099  * Always change this at the same time as SVN_VER_TAG.
00100  */
00101 #define SVN_VER_NUMTAG     ""
00102 
00103 
00104 /** Revision number: The repository revision number of this release.
00105  *
00106  * This constant is used to generate the build number part of the Windows
00107  * file version. Its value remains 0 in the repository.
00108  *
00109  * When rolling a tarball, we automatically replace it with what we
00110  * guess to be the correct revision number.
00111  */
00112 #define SVN_VER_REVISION   11378
00113 
00114 
00115 /* Version strings composed from the above definitions. */
00116 
00117 /** Version number */
00118 #define SVN_VER_NUM        APR_STRINGIFY(SVN_VER_MAJOR) \
00119                            "." APR_STRINGIFY(SVN_VER_MINOR) \
00120                            "." APR_STRINGIFY(SVN_VER_MICRO)
00121 
00122 /** Version number with tag (contains no whitespace) */
00123 #define SVN_VER_NUMBER     SVN_VER_NUM SVN_VER_NUMTAG
00124 
00125 /** Complete version string */
00126 #define SVN_VERSION        SVN_VER_NUM SVN_VER_TAG
00127 
00128 
00129 
00130 /* ### need runtime query function(s). see apr_version.h for example. */
00131 
00132 
00133 #ifdef __cplusplus
00134 }
00135 #endif /* __cplusplus */
00136 
00137 #endif /* SVN_VERSION_H */

Generated on Tue Oct 19 09:49:47 2004 for Subversion by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002