aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_config.h')
-rw-r--r--src/http/ngx_http_config.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h
index 370b7db3a..abd3bdb26 100644
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -7,9 +7,9 @@
typedef struct {
- void **main_conf;
- void **srv_conf;
- void **loc_conf;
+ void **main_conf;
+ void **srv_conf;
+ void **loc_conf;
} ngx_http_conf_ctx_t;
@@ -22,8 +22,11 @@ typedef struct {
typedef struct {
int index;
+ void *(*create_main_conf)(ngx_pool_t *p);
+ char *(*init_main_conf)(ngx_pool_t *p, void *conf);
+
void *(*create_srv_conf)(ngx_pool_t *p);
- char *(*init_srv_conf)(ngx_pool_t *p, void *conf);
+ char *(*merge_srv_conf)(ngx_pool_t *p, void *prev, void *conf);
void *(*create_loc_conf)(ngx_pool_t *p);
char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf);