include/apu_version.h

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

Generated on Tue Sep 11 08:13:14 2007 for Apache Portable Runtime Utility Library by  doxygen 1.5.2