Mercurial > hg > nginx-quic
comparison src/http/ngx_http_config.h @ 71:59229033ae93
nginx-0.0.1-2003-04-08-19:40:10 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 08 Apr 2003 15:40:10 +0000 |
parents | e43f406e4525 |
children | 674d333f4296 |
comparison
equal
deleted
inserted
replaced
70:e320bf51c4e3 | 71:59229033ae93 |
---|---|
17 int (*output_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); | 17 int (*output_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); |
18 } ngx_http_conf_filter_t; | 18 } ngx_http_conf_filter_t; |
19 | 19 |
20 | 20 |
21 typedef struct { | 21 typedef struct { |
22 int index; | |
23 | |
22 void *(*create_srv_conf)(ngx_pool_t *p); | 24 void *(*create_srv_conf)(ngx_pool_t *p); |
23 char *(*init_srv_conf)(ngx_pool_t *p, void *conf); | 25 char *(*init_srv_conf)(ngx_pool_t *p, void *conf); |
24 | 26 |
25 void *(*create_loc_conf)(ngx_pool_t *p); | 27 void *(*create_loc_conf)(ngx_pool_t *p); |
26 char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf); | 28 char *(*merge_loc_conf)(ngx_pool_t *p, void *prev, void *conf); |
27 | |
28 void (*init_filters) (ngx_pool_t *p, ngx_http_conf_filter_t *cf); | |
29 } ngx_http_module_t; | 29 } ngx_http_module_t; |
30 | 30 |
31 | 31 |
32 #define NGX_HTTP_MODULE_TYPE 0x50545448 /* "HTTP" */ | 32 #define NGX_HTTP_MODULE_TYPE 0x50545448 /* "HTTP" */ |
33 | 33 |
34 #define NGX_HTTP_MODULE 0 | |
34 | 35 |
35 #define NGX_HTTP_MAIN_CONF 0x1000000 | 36 #define NGX_HTTP_MAIN_CONF 0x1000000 |
36 #define NGX_HTTP_SRV_CONF 0x2000000 | 37 #define NGX_HTTP_SRV_CONF 0x2000000 |
37 #define NGX_HTTP_LOC_CONF 0x6000000 | 38 #define NGX_HTTP_LOC_CONF 0x6000000 |
38 | 39 |