From b71610eb09a799560f1c4d42be82e3100a9d6d9a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 25 Aug 2009 09:09:13 +0000 Subject: *) move small declarations in appropriate places and delete the surplus header files *) delete insignificant comments --- src/os/unix/ngx_os.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/os/unix/ngx_os.h') 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; -- cgit v1.2.3