aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_os.h')
-rw-r--r--src/os/win32/ngx_os.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/os/win32/ngx_os.h b/src/os/win32/ngx_os.h
index 96f1c2d1f..52a7c05a8 100644
--- a/src/os/win32/ngx_os.h
+++ b/src/os/win32/ngx_os.h
@@ -1,4 +1,4 @@
-ifndef _NGX_OS_H_INCLUDED_
+#ifndef _NGX_OS_H_INCLUDED_
#define _NGX_OS_H_INCLUDED_
@@ -33,6 +33,11 @@ typedef struct {
int ngx_os_init(ngx_log_t *log);
+ssize_t ngx_wsarecv(ngx_connection_t *c, char *buf, size_t size);
+ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, char *buf, size_t size);
+ngx_chain_t *ngx_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in);
+ngx_chain_t *ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in);
+
extern ngx_os_io_t ngx_os_io;
extern int ngx_max_sockets;