comparison src/http/ngx_http_config.h @ 42:cd035a94e0b6

nginx-0.0.1-2002-12-27-10:27:47 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 27 Dec 2002 07:27:47 +0000
parents 59e7c7f30d49
children 0e81ac0bb3e2
comparison
equal deleted inserted replaced
41:59e7c7f30d49 42:cd035a94e0b6
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 **srv_conf; 10 void **srv_conf;
11 void **loc_conf; 11 void **loc_conf;
12 ngx_array_t *locations;
12 } ngx_http_conf_ctx_t; 13 } ngx_http_conf_ctx_t;
13 14
14 15
15 #define NGX_HTTP_SRV_CONF offsetof(ngx_http_conf_ctx_t, srv_conf) 16 #define NGX_HTTP_SRV_CONF offsetof(ngx_http_conf_ctx_t, srv_conf)
16 #define NGX_HTTP_LOC_CONF offsetof(ngx_http_conf_ctx_t, loc_conf) 17 #define NGX_HTTP_LOC_CONF offsetof(ngx_http_conf_ctx_t, loc_conf)