00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00026 #include "apr_optional.h"
00027 #include "httpd.h"
00028 #include "scoreboard.h"
00029
00030 #ifndef _MOD_LOG_CONFIG_H
00031 #define _MOD_LOG_CONFIG_H 1
00032
00036 typedef const char *ap_log_handler_fn_t(request_rec *r, char *a);
00037
00041 typedef void *ap_log_writer_init(apr_pool_t *p, server_rec *s,
00042 const char *name);
00046 typedef apr_status_t ap_log_writer(
00047 request_rec *r,
00048 void *handle,
00049 const char **portions,
00050 int *lengths,
00051 int nelts,
00052 apr_size_t len);
00053
00054 typedef struct ap_log_handler {
00055 ap_log_handler_fn_t *func;
00056 int want_orig_default;
00057 } ap_log_handler;
00058
00059 APR_DECLARE_OPTIONAL_FN(void, ap_register_log_handler,
00060 (apr_pool_t *p, char *tag, ap_log_handler_fn_t *func,
00061 int def));
00066 APR_DECLARE_OPTIONAL_FN(ap_log_writer_init*, ap_log_set_writer_init,(ap_log_writer_init *func));
00070 APR_DECLARE_OPTIONAL_FN(ap_log_writer*, ap_log_set_writer, (ap_log_writer* func));
00071
00072 #endif
00073