From aed9f10440d8789f99919c3a6f91e8d76bbc44dc Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Thu, 23 Oct 2008 06:29:36 +0000 Subject: more parsing implementation (Custom functions) initial DB inserting (w/ prepared query) --- (limited to 'utility/logparse.h') diff --git a/utility/logparse.h b/utility/logparse.h index ebabf56..53b376b 100644 --- a/utility/logparse.h +++ b/utility/logparse.h @@ -3,8 +3,8 @@ #include "config.h" -typedef apr_status_t (*parser_func_t)(config_t *cfg, const char *data, - int argc, const char **argv); +typedef apr_status_t (*parser_func_t)(apr_pool_t *p, config_t *cfg, + config_output_field_t *field, const char *value, char **ret); parser_func_t parser_get_func(const char *name); @@ -14,6 +14,7 @@ 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); +apr_status_t parse_processline(apr_pool_t *ptemp, config_t *cfg, char **argv, + int argc); #endif /*LOGPARSE_H_*/ -- cgit v0.9.2