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
00019
#include "apr_version.h"
00020
00021
#include "apu.h"
00022
00023
#ifdef __cplusplus
00024
extern "C" {
00025
#endif
00026
00047
00048
00049
00050
00056 #define APU_MAJOR_VERSION 1
00057
00062 #define APU_MINOR_VERSION 0
00063
00065 #define APU_PATCH_VERSION 0
00066
00068 #define APU_VERSION_STRING \
00069
APR_STRINGIFY(APU_MAJOR_VERSION) "." \
00070
APR_STRINGIFY(APU_MINOR_VERSION) "." \
00071
APR_STRINGIFY(APU_PATCH_VERSION) \
00072
APU_IS_DEV_STRING
00073
00080
APU_DECLARE(
void) apu_version(apr_version_t *pvsn);
00081
00083 APU_DECLARE(const
char *) apu_version_string(
void);
00084
00085
00087 #ifdef APU_IS_DEV_VERSION
00088 #define APU_IS_DEV_STRING "-dev"
00089 #else
00090 #define APU_IS_DEV_STRING ""
00091 #endif
00092
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096
00097 #endif