summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_log_module.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_log_module.h (renamed from src/http/ngx_http_log_handler.h)15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/http/ngx_http_log_handler.h b/src/http/ngx_http_log_module.h
index 4472ed982..c414bc4ac 100644
--- a/src/http/ngx_http_log_handler.h
+++ b/src/http/ngx_http_log_module.h
@@ -4,8 +4,8 @@
*/
-#ifndef _NGX_HTTP_LOG_HANDLER_H_INCLUDED_
-#define _NGX_HTTP_LOG_HANDLER_H_INCLUDED_
+#ifndef _NGX_HTTP_LOG_MODULE_H_INCLUDED_
+#define _NGX_HTTP_LOG_MODULE_H_INCLUDED_
#include <ngx_config.h>
@@ -16,13 +16,14 @@
typedef struct ngx_http_log_op_s ngx_http_log_op_t;
typedef u_char *(*ngx_http_log_op_run_pt) (ngx_http_request_t *r, u_char *buf,
- ngx_http_log_op_t *op);
+ ngx_http_log_op_t *op);
typedef size_t (*ngx_http_log_op_getlen_pt) (ngx_http_request_t *r,
- uintptr_t data);
+ uintptr_t data);
+
+typedef ngx_int_t (*ngx_http_log_op_compile_pt) (ngx_conf_t *cf,
+ ngx_http_log_op_t *op, ngx_str_t *value);
-typedef ngx_int_t (*ngx_http_log_op_compile_pt) (ngx_http_log_op_t *op,
- ngx_str_t *value);
struct ngx_http_log_op_s {
size_t len;
@@ -67,4 +68,4 @@ typedef struct {
extern ngx_http_log_op_name_t ngx_http_log_fmt_ops[];
-#endif /* _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ */
+#endif /* _NGX_HTTP_LOG_MODULE_H_INCLUDED_ */