aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_socket.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
commit239baac646073cab7bbaf537ba2d6ca844f2c992 (patch)
treec7c3f61213697a68dc95898d27a730c08abce049 /src/os/win32/ngx_socket.h
parente4a2526e5ccd4f3f5f160656c1a7b6f865ac44c8 (diff)
downloadnginx-239baac646073cab7bbaf537ba2d6ca844f2c992.tar.gz
nginx-239baac646073cab7bbaf537ba2d6ca844f2c992.zip
nginx-0.0.1-2003-06-11-19:28:34 import
Diffstat (limited to 'src/os/win32/ngx_socket.h')
-rw-r--r--src/os/win32/ngx_socket.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os/win32/ngx_socket.h b/src/os/win32/ngx_socket.h
index f86a39aff..55629a1a9 100644
--- a/src/os/win32/ngx_socket.h
+++ b/src/os/win32/ngx_socket.h
@@ -16,6 +16,7 @@ typedef int socklen_t;
#define ngx_socket(af, type, proto, flags) \
WSASocket(af, type, proto, NULL, 0, flags)
+
#define ngx_socket_n "WSASocket()"
int ngx_nonblocking(ngx_socket_t s);
@@ -36,4 +37,11 @@ extern LPFN_GETACCEPTEXSOCKADDRS getacceptexsockaddrs;
extern LPFN_TRANSMITFILE transmitfile;
+ngx_inline int ngx_tcp_push(s) {
+ return 0;
+}
+
+#define ngx_tcp_push_n "tcp_push()"
+
+
#endif /* _NGX_SOCKET_H_INCLUDED_ */