aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_aio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_aio.h')
-rw-r--r--src/os/unix/ngx_aio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/os/unix/ngx_aio.h b/src/os/unix/ngx_aio.h
new file mode 100644
index 000000000..a37dafc6a
--- /dev/null
+++ b/src/os/unix/ngx_aio.h
@@ -0,0 +1,13 @@
+#ifndef _NGX_AIO_H_INCLUDED_
+#define _NGX_AIO_H_INCLUDED_
+
+
+#include <ngx_core.h>
+
+
+ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size);
+ssize_t ngx_aio_write(ngx_connection_t *c, char *buf, size_t size);
+ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in);
+
+
+#endif /* _NGX_AIO_H_INCLUDED_ */