Mercurial > hg > nginx
comparison src/core/nginx.c @ 96:a23d010f356d
nginx-0.0.1-2003-05-27-16:18:54 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 May 2003 12:18:54 +0000 |
parents | 19cc647ecd91 |
children | 70d2345a903f |
comparison
equal
deleted
inserted
replaced
95:b48066122884 | 96:a23d010f356d |
---|---|
85 1); | 85 1); |
86 | 86 |
87 conf.ctx = ngx_conf_ctx; | 87 conf.ctx = ngx_conf_ctx; |
88 conf.pool = ngx_pool; | 88 conf.pool = ngx_pool; |
89 conf.log = &ngx_log; | 89 conf.log = &ngx_log; |
90 conf.module_type = NGX_CORE_MODULE_TYPE; | 90 conf.module_type = NGX_CORE_MODULE; |
91 conf.cmd_type = NGX_MAIN_CONF; | 91 conf.cmd_type = NGX_MAIN_CONF; |
92 | 92 |
93 conf_file.len = sizeof("nginx.conf") - 1; | 93 conf_file.len = sizeof("nginx.conf") - 1; |
94 conf_file.data = "nginx.conf"; | 94 conf_file.data = "nginx.conf"; |
95 | 95 |
119 | 119 |
120 /* TODO: threads */ | 120 /* TODO: threads */ |
121 | 121 |
122 /* STUB */ | 122 /* STUB */ |
123 ngx_worker(&ngx_log); | 123 ngx_worker(&ngx_log); |
124 } | 124 } |
125 | 125 |
126 return 0; | 126 return 0; |
127 } | 127 } |
128 | 128 |
129 | 129 |