From aad1b89b68b0651b5729b15203081f6b4620847a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 3 Oct 2004 20:02:06 +0000 Subject: nginx-0.1.0-2004-10-04-00:02:06 import --- src/os/win32/ngx_os.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/os/win32/ngx_os.h') diff --git a/src/os/win32/ngx_os.h b/src/os/win32/ngx_os.h index 9b856f65a..98c8e15c2 100644 --- a/src/os/win32/ngx_os.h +++ b/src/os/win32/ngx_os.h @@ -42,7 +42,8 @@ typedef struct { } ngx_os_io_t; -int ngx_os_init(ngx_log_t *log); +ngx_int_t ngx_os_init(ngx_log_t *log); +void ngx_os_status(ngx_log_t *log); ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); @@ -54,10 +55,11 @@ 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_ncpu; -extern int ngx_max_sockets; -extern int ngx_inherited_nonblocking; -extern int ngx_win32_version; +extern ngx_uint_t ngx_ncpu; +extern ngx_int_t ngx_max_sockets; +extern ngx_uint_t ngx_inherited_nonblocking; +extern ngx_uint_t ngx_win32_version; +extern ngx_fd_t ngx_stderr_fileno; -- cgit