diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-08-25 09:09:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-08-25 09:09:13 +0000 |
commit | b71610eb09a799560f1c4d42be82e3100a9d6d9a (patch) | |
tree | 47e08342f2c09d2e0b57e433b5159cb9c9bab959 /src/os/unix/ngx_os.h | |
parent | 8e7e69e3517f197f369e77f3f4613135cd1f3636 (diff) | |
download | nginx-b71610eb09a799560f1c4d42be82e3100a9d6d9a.tar.gz nginx-b71610eb09a799560f1c4d42be82e3100a9d6d9a.zip |
*) move small declarations in appropriate places and delete the surplus
header files
*) delete insignificant comments
Diffstat (limited to 'src/os/unix/ngx_os.h')
-rw-r--r-- | src/os/unix/ngx_os.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os/unix/ngx_os.h b/src/os/unix/ngx_os.h index a8b6c6dc0..f1d8e6824 100644 --- a/src/os/unix/ngx_os.h +++ b/src/os/unix/ngx_os.h @@ -47,6 +47,14 @@ ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size); ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); +#if (NGX_HAVE_AIO) +ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size); +ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl); +ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size); +ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in, + off_t limit); +#endif + extern ngx_os_io_t ngx_os_io; extern ngx_int_t ngx_ncpu; |