diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-05-20 15:37:55 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-05-20 15:37:55 +0000 |
commit | 1c13c662f0ae8066d1d4849b4158d7459a4c7822 (patch) | |
tree | a8e517c0d41e922b1d3744d869edc60ed540b2d9 /src/os/win32/ngx_init.c | |
parent | a98301160de4c12f455cca8f78509f2e04626c0b (diff) | |
download | nginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.tar.gz nginx-1c13c662f0ae8066d1d4849b4158d7459a4c7822.zip |
nginx-0.0.1-2003-05-20-19:37:55 import
Diffstat (limited to 'src/os/win32/ngx_init.c')
-rw-r--r-- | src/os/win32/ngx_init.c | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/os/win32/ngx_init.c b/src/os/win32/ngx_init.c index cc4f25e62..8c3511fe7 100644 --- a/src/os/win32/ngx_init.c +++ b/src/os/win32/ngx_init.c @@ -1,9 +1,29 @@ -#include <ngx_os_init.h> +#include <ngx_config.h> +#include <ngx_core.h> + + +int ngx_max_sockets; + + +ngx_os_io_t ngx_os_io = { +#if 0 + ngx_unix_recv, + NULL, + NULL, + ngx_freebsd_write_chain +#else + NULL, + NULL, + NULL, + NULL +#endif +}; + int ngx_os_init(ngx_log_t *log) { - if (ngx_init_sockets(&ngx_log) == NGX_ERROR) { + if (ngx_init_sockets(log) == NGX_ERROR) { return NGX_ERROR; } |