Mercurial > hg > nginx
comparison src/os/win32/ngx_socket.h @ 3:34a521b1a148
nginx-0.0.1-2002-08-20-18:48:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 Aug 2002 14:48:28 +0000 |
parents | ffffe1499bce |
children | 669801705ab1 |
comparison
equal
deleted
inserted
replaced
2:ffffe1499bce | 3:34a521b1a148 |
---|---|
1 #ifndef _NGX_SOCKET_H_INCLUDED_ | 1 #ifndef _NGX_SOCKET_H_INCLUDED_ |
2 #define _NGX_SOCKET_H_INCLUDED_ | 2 #define _NGX_SOCKET_H_INCLUDED_ |
3 | 3 |
4 | 4 |
5 #include <ngx_config.h> | 5 #include <ngx_config.h> |
6 #include <ngx_log.h> | |
6 | 7 |
7 typedef SOCKET ngx_socket_t; | 8 typedef SOCKET ngx_socket_t; |
8 | 9 |
9 void ngx_init_sockets(ngx_log_t *log); | 10 void ngx_init_sockets(ngx_log_t *log); |
10 | 11 |
11 int ngx_nonblocking_n(s); | 12 int ngx_nonblocking_n(s); |
12 #define ngx_nonblocking_n "ioctlsocket (FIONBIO)" | 13 #define ngx_nonblocking_n "ioctlsocket (FIONBIO)" |
13 | 14 |
15 #define ngx_close_socket closesocket | |
16 #define ngx_close_socket_n "closesocket" | |
14 | 17 |
15 | 18 |
16 #endif /* _NGX_SOCKET_H_INCLUDED_ */ | 19 #endif /* _NGX_SOCKET_H_INCLUDED_ */ |