00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef APU_VERSION_H
00017 #define APU_VERSION_H
00018
00040
00041
00042
00043
00049 #define APU_MAJOR_VERSION 1
00050
00055 #define APU_MINOR_VERSION 1
00056
00061 #define APU_PATCH_VERSION 2
00062
00068
00069
00070
00071 #if defined(APU_IS_DEV_VERSION) || defined(DOXYGEN)
00072
00073 #define APU_IS_DEV_STRING "-dev"
00074 #else
00075 #define APU_IS_DEV_STRING ""
00076 #endif
00077
00078
00079 #ifndef APU_STRINGIFY
00080
00081 #define APU_STRINGIFY(n) APU_STRINGIFY_HELPER(n)
00082
00083 #define APU_STRINGIFY_HELPER(n) #n
00084 #endif
00085
00087 #define APU_VERSION_STRING \
00088 APU_STRINGIFY(APU_MAJOR_VERSION) "." \
00089 APU_STRINGIFY(APU_MINOR_VERSION) "." \
00090 APU_STRINGIFY(APU_PATCH_VERSION) \
00091 APU_IS_DEV_STRING
00092
00094
00095 #define APU_VERSION_STRING_CSV APU_MAJOR_VERSION ##, \
00096 ##APU_MINOR_VERSION ##, \
00097 ##APU_PATCH_VERSION
00098
00099
00100 #ifndef APU_VERSION_ONLY
00101
00102
00103
00104
00105
00106
00107
00108 #include "apr_version.h"
00109
00110 #include "apu.h"
00111
00112 #ifdef __cplusplus
00113 extern "C" {
00114 #endif
00115
00122 APU_DECLARE(void) apu_version(apr_version_t *pvsn);
00123
00125 APU_DECLARE(const char *) apu_version_string(void);
00126
00127 #ifdef __cplusplus
00128 }
00129 #endif
00130
00131 #endif
00132
00133 #endif