aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_init.c
blob: 4f356a1c2d47b2eadfc39e0564e52405e6ea5039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <ngx_config.h>
#include <ngx_core.h>


int  ngx_max_sockets;


ngx_os_io_t ngx_os_io = {
    ngx_wsarecv,
    NULL,
    NULL,
    NULL
};


int ngx_os_init(ngx_log_t *log)
{
    if (ngx_init_sockets(log) == NGX_ERROR) {
        return NGX_ERROR;
    }

    return NGX_OK;
}