nginx/src/os/win32/ngx_init.c

32 lines
363 B
C
Raw Normal View History

2003-05-20 00:39:14 +08:00
2003-05-20 23:37:55 +08:00
#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
};
2003-05-20 00:39:14 +08:00
int ngx_os_init(ngx_log_t *log)
{
2003-05-20 23:37:55 +08:00
if (ngx_init_sockets(log) == NGX_ERROR) {
2003-05-20 00:39:14 +08:00
return NGX_ERROR;
}
return NGX_OK;
}