aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-26 16:26:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-26 16:26:23 +0000
commit207ed5a589055899a5841d1a9f3074fc4ff407c5 (patch)
tree69cb0a8bafe1997089f3faba616fd6f3f3abe50a /src/core/ngx_modules.c
parent960ffa42cb161b3769cde9bbf2212092e751dfab (diff)
downloadnginx-207ed5a589055899a5841d1a9f3074fc4ff407c5.tar.gz
nginx-207ed5a589055899a5841d1a9f3074fc4ff407c5.zip
nginx-0.0.1-2002-12-26-19:26:23 import
Diffstat (limited to 'src/core/ngx_modules.c')
-rw-r--r--src/core/ngx_modules.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
index 5b814baf9..4d43349f3 100644
--- a/src/core/ngx_modules.c
+++ b/src/core/ngx_modules.c
@@ -1,15 +1,19 @@
-#include <ngx_http.h>
+#include <ngx_config_file.h>
-extern ngx_http_module_t ngx_http_header_filter_module;
-extern ngx_http_module_t ngx_http_write_filter_module;
-extern ngx_http_module_t ngx_http_output_filter_module;
+extern ngx_module_t ngx_http_header_filter_module;
-extern ngx_http_module_t ngx_http_core_module;
-extern ngx_http_module_t ngx_http_index_module;
+extern ngx_module_t ngx_http_write_filter_module;
+extern ngx_module_t ngx_http_output_filter_module;
-ngx_http_module_t *ngx_http_modules[] = {
+extern ngx_module_t ngx_http_core_module;
+extern ngx_module_t ngx_http_index_module;
+
+extern ngx_module_t ngx_http_module;
+
+
+ngx_module_t *ngx_modules[] = {
&ngx_http_header_filter_module,
@@ -19,5 +23,7 @@ ngx_http_module_t *ngx_http_modules[] = {
&ngx_http_index_module,
&ngx_http_core_module,
+ &ngx_http_module,
+
NULL
};