diff options
author | Edward Rudd <urkle@outoforder.cc> | 2008-10-22 12:40:58 (GMT) |
---|---|---|
committer | Edward Rudd <urkle@outoforder.cc> | 2008-10-22 12:40:58 (GMT) |
commit | 0ddd719a72469f732a881c93d4c804e9aca787fe (patch) | |
tree | e05821ff5a6ad0f00d63f23090ce4f2ec19bef75 /utility/logparse.h | |
parent | cc75ebf7e8560a69a6847f0260cce4772fff440a (diff) |
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)
Diffstat (limited to 'utility/logparse.h')
-rw-r--r-- | utility/logparse.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 @@ | |||
3 | 3 | ||
4 | #include "config.h" | 4 | #include "config.h" |
5 | 5 | ||
6 | void find_log_files(config_t *cfg); | 6 | typedef apr_status_t (*parser_func_t)(config_t *cfg, const char *data, |
7 | int argc, const char **argv); | ||
8 | |||
9 | parser_func_t parser_get_func(const char *name); | ||
10 | |||
11 | void parser_init(apr_pool_t *p); | ||
12 | |||
13 | void parser_find_logs(config_t *cfg); | ||
7 | 14 | ||
8 | apr_status_t parse_logfile(config_t *cfg, const char *filename); | 15 | apr_status_t parse_logfile(config_t *cfg, const char *filename); |
9 | 16 | ||
17 | apr_status_t parse_processline(apr_pool_t *ptemp, config_t *cfg, char **argv, int argc); | ||
18 | |||
10 | #endif /*LOGPARSE_H_*/ | 19 | #endif /*LOGPARSE_H_*/ |