00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
#ifndef APR_VERSION_H
00017
#define APR_VERSION_H
00018
00019
#include "apr.h"
00020
00021
#ifdef __cplusplus
00022
extern "C" {
00023
#endif
00024
00045
00046
00047
00048
00054 #define APR_MAJOR_VERSION 0
00055
00060 #define APR_MINOR_VERSION 9
00061
00063 #define APR_PATCH_VERSION 5
00064
00065
00070 #define APR_IS_DEV_VERSION
00071
00073 #define APR_VERSION_STRING \
00074
APR_STRINGIFY(APR_MAJOR_VERSION) "." \
00075
APR_STRINGIFY(APR_MINOR_VERSION) "." \
00076
APR_STRINGIFY(APR_PATCH_VERSION) \
00077
APR_IS_DEV_STRING
00078
00079
00084 typedef struct {
00085 int major;
00086 int minor;
00087 int patch;
00088 int is_dev;
00089 }
apr_version_t;
00090
00097
APR_DECLARE(
void) apr_version(
apr_version_t *pvsn);
00098
00100 APR_DECLARE(const
char *) apr_version_string(
void);
00101
00102
00104 #ifdef APR_IS_DEV_VERSION
00105 #define APR_IS_DEV_STRING "-dev"
00106 #else
00107 #define APR_IS_DEV_STRING ""
00108 #endif
00109
00110 #ifdef __cplusplus
00111 }
00112 #endif
00113
00114 #endif