diff options
Diffstat (limited to 'apache20.h')
-rw-r--r-- | apache20.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/apache20.h b/apache20.h new file mode 100644 index 0000000..fd111d3 --- /dev/null +++ b/apache20.h | |||
@@ -0,0 +1,31 @@ | |||
1 | #ifndef APACHE20_H | ||
2 | #define APACHE20_H | ||
3 | |||
4 | #include "apr_strings.h" | ||
5 | #include "apr_lib.h" | ||
6 | #include "apr_hash.h" | ||
7 | #include "apr_optional.h" | ||
8 | #define APR_WANT_STRFUNC | ||
9 | #include "apr_want.h" | ||
10 | #include "apr_tables.h" | ||
11 | |||
12 | #include "ap_config.h" | ||
13 | |||
14 | #include "httpd.h" | ||
15 | #include "http_config.h" | ||
16 | #include "http_core.h" | ||
17 | #include "http_log.h" | ||
18 | #include "http_protocol.h" | ||
19 | |||
20 | #include "util_time.h" | ||
21 | |||
22 | static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); | ||
23 | static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) | ||
24 | { | ||
25 | va_list args; | ||
26 | va_start(args, fmt); | ||
27 | ap_log_error(file,line,level,0,s,fmt,args); | ||
28 | va_end(args); | ||
29 | } | ||
30 | |||
31 | #endif /* APACHE20_H */ | ||