From 0ddd719a72469f732a881c93d4c804e9aca787fe Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Wed, 22 Oct 2008 12:40:58 +0000 Subject: added more config options included PCRE wrapper from httpd more complete log parser code. fixed NASTY bug with setting values in the hash tables (Need to DUP the strings before setting the keys) --- (limited to 'utility/logparse.h') diff --git a/utility/logparse.h b/utility/logparse.h index 540a9e0..ebabf56 100644 --- a/utility/logparse.h +++ b/utility/logparse.h @@ -3,8 +3,17 @@ #include "config.h" -void find_log_files(config_t *cfg); +typedef apr_status_t (*parser_func_t)(config_t *cfg, const char *data, + int argc, const char **argv); + +parser_func_t parser_get_func(const char *name); + +void parser_init(apr_pool_t *p); + +void parser_find_logs(config_t *cfg); apr_status_t parse_logfile(config_t *cfg, const char *filename); +apr_status_t parse_processline(apr_pool_t *ptemp, config_t *cfg, char **argv, int argc); + #endif /*LOGPARSE_H_*/ -- cgit v0.9.2