comparison 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
comparison
equal deleted inserted replaced
3043:a66d6dfd53f1 3044:a1d54c705f38
45 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size); 45 ssize_t ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size);
46 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size); 46 ssize_t ngx_unix_send(ngx_connection_t *c, u_char *buf, size_t size);
47 ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, 47 ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in,
48 off_t limit); 48 off_t limit);
49 49
50 #if (NGX_HAVE_AIO)
51 ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size);
52 ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl);
53 ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size);
54 ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in,
55 off_t limit);
56 #endif
57
50 58
51 extern ngx_os_io_t ngx_os_io; 59 extern ngx_os_io_t ngx_os_io;
52 extern ngx_int_t ngx_ncpu; 60 extern ngx_int_t ngx_ncpu;
53 extern ngx_int_t ngx_max_sockets; 61 extern ngx_int_t ngx_max_sockets;
54 extern ngx_uint_t ngx_inherited_nonblocking; 62 extern ngx_uint_t ngx_inherited_nonblocking;