Mercurial > hg > nginx
comparison src/http/ngx_http_config.h @ 44:0e81ac0bb3e2
nginx-0.0.1-2003-01-09-08:36:00 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 09 Jan 2003 05:36:00 +0000 |
parents | cd035a94e0b6 |
children | e8cdc2989cee |
comparison
equal
deleted
inserted
replaced
43:53cd05892261 | 44:0e81ac0bb3e2 |
---|---|
7 | 7 |
8 | 8 |
9 typedef struct { | 9 typedef struct { |
10 void **srv_conf; | 10 void **srv_conf; |
11 void **loc_conf; | 11 void **loc_conf; |
12 ngx_array_t *locations; | |
13 } ngx_http_conf_ctx_t; | 12 } ngx_http_conf_ctx_t; |
14 | 13 |
15 | 14 |
16 #define NGX_HTTP_SRV_CONF offsetof(ngx_http_conf_ctx_t, srv_conf) | 15 #define NGX_HTTP_MAIN_CONF 0x1000000 |
17 #define NGX_HTTP_LOC_CONF offsetof(ngx_http_conf_ctx_t, loc_conf) | 16 #define NGX_HTTP_SRV_CONF 0x2000000 |
17 #define NGX_HTTP_LOC_CONF 0x6000000 | |
18 | |
19 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf) | |
20 #define NGX_HTTP_LOC_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, loc_conf) | |
18 | 21 |
19 | 22 |
20 int ngx_http_config_modules(ngx_pool_t *pool, ngx_module_t **modules); | 23 int ngx_http_config_modules(ngx_pool_t *pool, ngx_module_t **modules); |
21 | 24 |
22 | 25 |