upstream nginx-0.7.31
[nginx.git] / nginx / src / os / unix / ngx_aio.h
1
2 /*
3  * Copyright (C) Igor Sysoev
4  */
5
6
7 #ifndef _NGX_AIO_H_INCLUDED_
8 #define _NGX_AIO_H_INCLUDED_
9
10
11 #include <ngx_core.h>
12
13
14 ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size);
15 ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl);
16 ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size);
17 ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in,
18                                  off_t limit);
19
20
21 #endif /* _NGX_AIO_H_INCLUDED_ */