/* $Header: /home/cvs/mod_log_sql/apache20.h,v 1.3 2004/01/21 04:34:21 urkle Exp $ */ #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, ...) { static char buff[MAX_STRING_LEN]; va_list args; va_start(args, fmt); apr_vsnprintf(buff,MAX_STRING_LEN, fmt,args); ap_log_error(file,line,level,0,s,"%s",buff); va_end(args); }*/ #define log_error ap_log_error #endif /* APACHE20_H */