00001
00002
00003
00004
00005 #define GRST_AP_VERSION (AP_SERVER_MAJORVERSION_NUMBER * 10000 + AP_SERVER_MINORVERSION_NUMBER * 100 + AP_SERVER_PATCHLEVEL_NUMBER)
00006
00007
00008
00009
00010 #if GRST_AP_VERSION < 20300
00011 #define ap_unixd_config (unixd_config)
00012 #endif
00013
00014
00015
00016
00017 #if GRST_AP_VERSION < 20306
00018 #define GRST_AP_LOGLEVEL(REQ) ((REQ)->loglevel)
00019 #else
00020 #define GRST_AP_LOGLEVEL(REQ) ((REQ)->log.level)
00021 #endif
00022
00023
00024
00025
00026 #if GRST_AP_VERSION < 20316
00027 #define GRST_AP_CLIENT_IP(CONN) ((CONN)->remote_ip)
00028 #else
00029 #define GRST_AP_CLIENT_IP(CONN) ((CONN)->client_ip)
00030 #endif