comparison src/os/win32/ngx_os.h @ 363:f2755a2885c8

nginx-0.0.7-2004-06-21-23:22:53 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 21 Jun 2004 19:22:53 +0000
parents a472bfb778b3
children 018569a8f09c
comparison
equal deleted inserted replaced
362:7650aea1816f 363:f2755a2885c8
24 24
25 typedef struct { 25 typedef struct {
26 ssize_t (*recv)(ngx_connection_t *c, u_char *buf, size_t size); 26 ssize_t (*recv)(ngx_connection_t *c, u_char *buf, size_t size);
27 ssize_t (*recv_chain)(ngx_connection_t *c, ngx_chain_t *in); 27 ssize_t (*recv_chain)(ngx_connection_t *c, ngx_chain_t *in);
28 ssize_t (*send)(ngx_connection_t *c, u_char *buf, size_t size); 28 ssize_t (*send)(ngx_connection_t *c, u_char *buf, size_t size);
29 ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in); 29 ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in,
30 off_t limit);
30 int flags; 31 int flags;
31 } ngx_os_io_t; 32 } ngx_os_io_t;
32 33
33 34
34 int ngx_os_init(ngx_log_t *log); 35 int ngx_os_init(ngx_log_t *log);
35 36
36 ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); 37 ssize_t ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size);
37 ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size); 38 ssize_t ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size);
38 ssize_t ngx_wsarecv_chain(ngx_connection_t *c, ngx_chain_t *chain); 39 ssize_t ngx_wsarecv_chain(ngx_connection_t *c, ngx_chain_t *chain);
39 ngx_chain_t *ngx_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in); 40 ngx_chain_t *ngx_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in,
40 ngx_chain_t *ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in); 41 off_t limit);
42 ngx_chain_t *ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in,
43 off_t limit);
41 44
42 45
43 extern ngx_os_io_t ngx_os_io; 46 extern ngx_os_io_t ngx_os_io;
44 extern int ngx_max_sockets; 47 extern int ngx_max_sockets;
45 extern int ngx_inherited_nonblocking; 48 extern int ngx_inherited_nonblocking;