Mercurial > hg > nginx-quic
comparison src/http/ngx_http_config.h @ 91:637625a2acdb
nginx-0.0.1-2003-05-19-20:39:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 May 2003 16:39:14 +0000 |
parents | 37530da31268 |
children | a23d010f356d |
comparison
equal
deleted
inserted
replaced
90:37530da31268 | 91:637625a2acdb |
---|---|
5 #include <ngx_alloc.h> | 5 #include <ngx_alloc.h> |
6 #include <ngx_http.h> | 6 #include <ngx_http.h> |
7 | 7 |
8 | 8 |
9 typedef struct { | 9 typedef struct { |
10 void **main_conf; | 10 void **main_conf; |
11 void **srv_conf; | 11 void **srv_conf; |
12 void **loc_conf; | 12 void **loc_conf; |
13 } ngx_http_conf_ctx_t; | 13 } ngx_http_conf_ctx_t; |
14 | 14 |
15 | 15 |
16 typedef struct { | 16 typedef struct { |
17 int (*output_header_filter) (ngx_http_request_t *r); | 17 int (*output_header_filter) (ngx_http_request_t *r); |
20 | 20 |
21 | 21 |
22 typedef struct { | 22 typedef struct { |
23 int index; | 23 int index; |
24 | 24 |
25 void *(*create_main_conf)(ngx_pool_t *p); | |
26 char *(*init_main_conf)(ngx_pool_t *p, void *conf); | |
27 | |
25 void *(*create_srv_conf)(ngx_pool_t *p); | 28 void *(*create_srv_conf)(ngx_pool_t *p); |
26 char *(*init_srv_conf)(ngx_pool_t *p, void *conf); | 29 char *(*merge_srv_conf)(ngx_pool_t *p, void *prev, void *conf); |
27 | 30 |
28 void *(*create_loc_conf)(ngx_pool_t *p); | 31 void *(*create_loc_conf)(ngx_pool_t *p); |
29 char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf); | 32 char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf); |
30 } ngx_http_module_t; | 33 } ngx_http_module_t; |
31 | 34 |