comparison src/os/unix/ngx_os.h @ 6125:4dc8e7b62216

Removed the obsolete aio module.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 22 Apr 2015 18:57:32 +0300
parents 2c64b69daec5
children 8f038068f4bc
comparison
equal deleted inserted replaced
6124:f1f222db290b 6125:4dc8e7b62216
46 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); 46 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
47 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size); 47 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
48 ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, 48 ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in,
49 off_t limit); 49 off_t limit);
50 50
51 #if (NGX_HAVE_AIO)
52 ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size);
53 ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl, off_t limit);
54 ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size);
55 ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in,
56 off_t limit);
57 #endif
58
59 51
60 #if (IOV_MAX > 64) 52 #if (IOV_MAX > 64)
61 #define NGX_IOVS_PREALLOCATE 64 53 #define NGX_IOVS_PREALLOCATE 64
62 #else 54 #else
63 #define NGX_IOVS_PREALLOCATE IOV_MAX 55 #define NGX_IOVS_PREALLOCATE IOV_MAX