diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-21 15:59:32 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-21 15:59:32 +0000 |
commit | ef06648615d6ce6e000e6c737f80c2ba9fa04d3a (patch) | |
tree | 5f840689ca43ecba7218f9709f1bdfaa27611f53 /src/os/unix/ngx_os.h | |
parent | 73a73b5a60b1c6c985f3e9a5d7cddbe292ad01a4 (diff) | |
download | nginx-ef06648615d6ce6e000e6c737f80c2ba9fa04d3a.tar.gz nginx-ef06648615d6ce6e000e6c737f80c2ba9fa04d3a.zip |
nginx-0.0.7-2004-06-21-19:59:32 import
Diffstat (limited to 'src/os/unix/ngx_os.h')
-rw-r--r-- | src/os/unix/ngx_os.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h index 6ecb08317..d9a1a4560 100644 --- a/src/os/unix/ngx_os.h +++ b/src/os/unix/ngx_os.h @@ -27,7 +27,8 @@ typedef struct { ssize_t (*recv)(ngx_connection_t *c, u_char *buf, size_t size); ssize_t (*recv_chain)(ngx_connection_t *c, ngx_chain_t *in); ssize_t (*send)(ngx_connection_t *c, u_char *buf, size_t size); - ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in); + ngx_chain_t *(*send_chain)(ngx_connection_t *c, ngx_chain_t *in, + off_t limit); int flags; } ngx_os_io_t; @@ -41,7 +42,8 @@ int ngx_posix_post_conf_init(ngx_log_t *log); ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry); -ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in); +ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, + off_t limit); extern ngx_os_io_t ngx_os_io; |