Mercurial > hg > nginx
comparison src/os/unix/ngx_darwin.h @ 2128:345a014436d4
*) move Darwin support to separate files
*) Darwin sendfile() support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Jul 2008 12:18:07 +0000 |
parents | src/os/unix/ngx_freebsd.h@b794d78e52c5 |
children | 1b779cb69dc8 4919fb357a5d |
comparison
equal
deleted
inserted
replaced
2127:05e8de8fcfbb | 2128:345a014436d4 |
---|---|
1 | |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_DARWIN_H_INCLUDED_ | |
8 #define _NGX_DARWIN_H_INCLUDED_ | |
9 | |
10 | |
11 ngx_chain_t *ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, | |
12 off_t limit); | |
13 | |
14 extern int ngx_darwin_kern_osreldate; | |
15 extern int ngx_darwin_hw_ncpu; | |
16 extern u_long ngx_darwin_net_inet_tcp_sendspace; | |
17 | |
18 | |
19 #endif /* _NGX_DARWIN_H_INCLUDED_ */ |