diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-07-30 12:18:07 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-07-30 12:18:07 +0000 |
commit | 749449097847cc3bee9e4e3966122a94149b755b (patch) | |
tree | 610e6e781bd2fdcc1cdd035851c4a222e3556c08 /src/os/unix/ngx_darwin.h | |
parent | ec0b579f7521608e3dabc1635ead8ed11ab1a7be (diff) | |
download | nginx-749449097847cc3bee9e4e3966122a94149b755b.tar.gz nginx-749449097847cc3bee9e4e3966122a94149b755b.zip |
*) move Darwin support to separate files
*) Darwin sendfile() support
Diffstat (limited to 'src/os/unix/ngx_darwin.h')
-rw-r--r-- | src/os/unix/ngx_darwin.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/os/unix/ngx_darwin.h b/src/os/unix/ngx_darwin.h new file mode 100644 index 000000000..7fa60ff0c --- /dev/null +++ b/src/os/unix/ngx_darwin.h @@ -0,0 +1,19 @@ + +/* + * Copyright (C) Igor Sysoev + */ + + +#ifndef _NGX_DARWIN_H_INCLUDED_ +#define _NGX_DARWIN_H_INCLUDED_ + + +ngx_chain_t *ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, + off_t limit); + +extern int ngx_darwin_kern_osreldate; +extern int ngx_darwin_hw_ncpu; +extern u_long ngx_darwin_net_inet_tcp_sendspace; + + +#endif /* _NGX_DARWIN_H_INCLUDED_ */ |