From 40f0c8fe04858acd724d6221dbf8a357259e5d6b Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Tue, 20 Jan 2004 16:27:35 +0000 Subject: split out version specific code code compiles under apache 1.3 and 2.0 updated apache m4 script to detect both verions (two minumums) defaulted install to not activate module in configuration file (use make activate) --- (limited to 'apache20.h') diff --git a/apache20.h b/apache20.h new file mode 100644 index 0000000..fd111d3 --- /dev/null +++ b/apache20.h @@ -0,0 +1,31 @@ +#ifndef APACHE20_H +#define APACHE20_H + +#include "apr_strings.h" +#include "apr_lib.h" +#include "apr_hash.h" +#include "apr_optional.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" +#include "apr_tables.h" + +#include "ap_config.h" + +#include "httpd.h" +#include "http_config.h" +#include "http_core.h" +#include "http_log.h" +#include "http_protocol.h" + +#include "util_time.h" + +static void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 5,6))); +static inline void log_error(char *file, int line, int level, const server_rec *s, const char *fmt, ...) +{ + va_list args; + va_start(args, fmt); + ap_log_error(file,line,level,0,s,fmt,args); + va_end(args); +} + +#endif /* APACHE20_H */ -- cgit v0.9.2