Mercurial > hg > nginx
diff src/core/ngx_modules.c @ 41:59e7c7f30d49
nginx-0.0.1-2002-12-26-19:26:23 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Dec 2002 16:26:23 +0000 |
parents | d5d4f3bba6f0 |
children | cd035a94e0b6 |
line wrap: on
line diff
--- 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_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_write_filter_module; +extern ngx_module_t ngx_http_output_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_core_module; +extern ngx_module_t ngx_http_index_module; -ngx_http_module_t *ngx_http_modules[] = { +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 };