diff options
Diffstat (limited to 'apache13.h')
-rw-r--r-- | apache13.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -47,7 +47,7 @@ | |||
47 | /* Functions */ | 47 | /* Functions */ |
48 | #define ap_get_remote_host(a,b,c,d) ap_get_remote_host(a,b,c) | 48 | #define ap_get_remote_host(a,b,c,d) ap_get_remote_host(a,b,c) |
49 | #define ap_set_deprecated NULL | 49 | #define ap_set_deprecated NULL |
50 | 50 | ||
51 | #define apr_uri_unparse ap_unparse_uri_components | 51 | #define apr_uri_unparse ap_unparse_uri_components |
52 | #define apr_uri_parse ap_parse_uri_components | 52 | #define apr_uri_parse ap_parse_uri_components |
53 | #define ap_add_version_component(p,s) ap_add_version_component(s) | 53 | #define ap_add_version_component(p,s) ap_add_version_component(s) |
@@ -75,15 +75,18 @@ | |||
75 | #define apr_array_cat ap_array_cat | 75 | #define apr_array_cat ap_array_cat |
76 | #define apr_is_empty_array(t) (((t) == NULL)||((t)->nelts == 0)) | 76 | #define apr_is_empty_array(t) (((t) == NULL)||((t)->nelts == 0)) |
77 | 77 | ||
78 | #define apr_file_t FILE | ||
79 | #define apr_file_printf fprintf | ||
80 | |||
78 | #define apr_tolower ap_tolower | 81 | #define apr_tolower ap_tolower |
79 | 82 | ||
80 | void log_error(char *file, int line, int level, apr_status_t status, | 83 | void log_error(char *file, int line, int level, apr_status_t status, |
81 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); | 84 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); |
82 | 85 | ||
83 | #ifndef WIN32 | 86 | #ifndef WIN32 |
84 | inline | 87 | inline |
85 | #endif | 88 | #endif |
86 | void log_error(char *file, int line, int level, | 89 | void log_error(char *file, int line, int level, |
87 | apr_status_t status, const server_rec *s, const char *fmt, ...) | 90 | apr_status_t status, const server_rec *s, const char *fmt, ...) |
88 | { | 91 | { |
89 | static char buff[MAX_STRING_LEN]; | 92 | static char buff[MAX_STRING_LEN]; |