Mercurial > hg > nginx
diff src/os/unix/ngx_os.h @ 3044:a1d54c705f38
*) move small declarations in appropriate places and delete the surplus
header files
*) delete insignificant comments
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Aug 2009 09:09:13 +0000 |
parents | d8316f307b6a |
children | 1b779cb69dc8 4919fb357a5d |
line wrap: on
line diff
--- 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 * 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;