summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-01-09 05:36:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-01-09 05:36:00 +0000
commit4e9393a0548d783cd6f50d1fcd003c85a24b2b16 (patch)
tree300b40876e7ea6c103b7a080e380cdaaaf31260e /src/http/ngx_http_config.h
parentc1817846d29be14903e40a0551f706ff50e09dcf (diff)
downloadnginx-4e9393a0548d783cd6f50d1fcd003c85a24b2b16.tar.gz
nginx-4e9393a0548d783cd6f50d1fcd003c85a24b2b16.tar.bz2
nginx-0.0.1-2003-01-09-08:36:00 import
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h
index 4bea178eb..27f8c6546 100644
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -9,12 +9,15 @@
typedef struct {
void **srv_conf;
void **loc_conf;
- ngx_array_t *locations;
} ngx_http_conf_ctx_t;
-#define NGX_HTTP_SRV_CONF offsetof(ngx_http_conf_ctx_t, srv_conf)
-#define NGX_HTTP_LOC_CONF offsetof(ngx_http_conf_ctx_t, loc_conf)
+#define NGX_HTTP_MAIN_CONF 0x1000000
+#define NGX_HTTP_SRV_CONF 0x2000000
+#define NGX_HTTP_LOC_CONF 0x6000000
+
+#define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf)
+#define NGX_HTTP_LOC_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, loc_conf)
int ngx_http_config_modules(ngx_pool_t *pool, ngx_module_t **modules);