summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-04-08 15:40:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-04-08 15:40:10 +0000
commite2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5 (patch)
tree6198fc644d2efe9d10bab8b87004a70324d6cf5d /src/http/ngx_http_config.h
parent3f76ec190a3bd398c229deb0b4f298b9637a3129 (diff)
downloadnginx-e2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5.tar.gz
nginx-e2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5.tar.bz2
nginx-0.0.1-2003-04-08-19:40:10 import
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h
index 97bc8a0d3..1bd01204b 100644
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -19,18 +19,19 @@ typedef struct {
typedef struct {
+ int index;
+
void *(*create_srv_conf)(ngx_pool_t *p);
char *(*init_srv_conf)(ngx_pool_t *p, void *conf);
void *(*create_loc_conf)(ngx_pool_t *p);
char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf);
-
- void (*init_filters) (ngx_pool_t *p, ngx_http_conf_filter_t *cf);
} ngx_http_module_t;
#define NGX_HTTP_MODULE_TYPE 0x50545448 /* "HTTP" */
+#define NGX_HTTP_MODULE 0
#define NGX_HTTP_MAIN_CONF 0x1000000
#define NGX_HTTP_SRV_CONF 0x2000000