00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef APREQ_VERSION_H
00018 #define APREQ_VERSION_H
00019
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024 #include "apreq.h"
00025 #include "apr_version.h"
00026
00045
00046
00047
00048
00054 #define APREQ_MAJOR_VERSION 2
00055
00060 #define APREQ_MINOR_VERSION 0
00061
00063 #define APREQ_PATCH_VERSION 7
00064
00069 #define APREQ_IS_DEV_VERSION
00070
00071
00073 #define APREQ_VERSION_STRING \
00074 APR_STRINGIFY(APREQ_MAJOR_VERSION) "." \
00075 APR_STRINGIFY(APREQ_MINOR_VERSION) "." \
00076 APR_STRINGIFY(APREQ_PATCH_VERSION) \
00077 APREQ_IS_DEV_STRING
00078
00085 APREQ_DECLARE(void) apreq_version(apr_version_t *pvsn);
00086
00088 APREQ_DECLARE(const char *) apreq_version_string(void);
00089
00090
00092 #ifdef APREQ_IS_DEV_VERSION
00093 #define APREQ_IS_DEV_STRING "-dev"
00094 #else
00095 #define APREQ_IS_DEV_STRING ""
00096 #endif
00097
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101
00102 #endif