Main Page | Modules | Namespace List | Data Structures | File List | Data Fields | Globals | Related Pages

/usr/src/rpmbuilder/BUILD/apr-util-APU_0_9_BRANCH/include/apu_version.h

Go to the documentation of this file.
00001 /* Copyright 2000-2004 The Apache Software Foundation
00002  *
00003  * Licensed under the Apache License, Version 2.0 (the "License");
00004  * you may not use this file except in compliance with the License.
00005  * You may obtain a copy of the License at
00006  *
00007  *     http://www.apache.org/licenses/LICENSE-2.0
00008  *
00009  * Unless required by applicable law or agreed to in writing, software
00010  * distributed under the License is distributed on an "AS IS" BASIS,
00011  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012  * See the License for the specific language governing permissions and
00013  * limitations under the License.
00014  */
00015 
00016 #ifndef APU_VERSION_H
00017 #define APU_VERSION_H
00018 
00019 #include "apr_version.h"
00020 
00021 #include "apu.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00047 /* The numeric compile-time version constants. These constants are the
00048  * authoritative version numbers for APU. 
00049  */
00050 
00056 #define APU_MAJOR_VERSION       0
00057 
00062 #define APU_MINOR_VERSION       9
00063 
00065 #define APU_PATCH_VERSION       5
00066 
00071 #define APU_IS_DEV_VERSION
00072 
00073 
00075 #define APU_VERSION_STRING \
00076      APR_STRINGIFY(APU_MAJOR_VERSION) "." \
00077      APR_STRINGIFY(APU_MINOR_VERSION) "." \
00078      APR_STRINGIFY(APU_PATCH_VERSION) \
00079      APU_IS_DEV_STRING
00080 
00087 APU_DECLARE(void) apu_version(apr_version_t *pvsn);
00088 
00090 APU_DECLARE(const char *) apu_version_string(void);
00091 
00092 
00094 #ifdef APU_IS_DEV_VERSION
00095 #define APU_IS_DEV_STRING "-dev"
00096 #else
00097 #define APU_IS_DEV_STRING ""
00098 #endif
00099 
00100 #ifdef __cplusplus
00101 }
00102 #endif
00103 
00104 #endif /* APU_VERSION_H */

Generated on Fri Apr 23 07:22:21 2004 for Apache Portable Runtime Utility Library by doxygen 1.3.4