diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-02-26 20:21:43 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-02-26 20:21:43 +0000 |
| commit | ff148df8f694212e2cf13f0d43532949433831a2 (patch) | |
| tree | 1323b3de05544f57639c20080db3ac386bc0050d /src/core/ngx_connection.h | |
| parent | 9a5f495afdf8cc1d33ae1741e1409c0bdcc3589d (diff) | |
| download | nginx-ff148df8f694212e2cf13f0d43532949433831a2.tar.gz nginx-ff148df8f694212e2cf13f0d43532949433831a2.tar.bz2 | |
nginx-0.0.1-2003-02-26-23:21:43 import
Diffstat (limited to 'src/core/ngx_connection.h')
| -rw-r--r-- | src/core/ngx_connection.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 640158769..b64c6d741 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -79,4 +79,19 @@ EV_VNODE should notify by some signal if diretory tree is changed or stat if aged >= N seconds (big enough) #endif + +extern ngx_chain_t *(*ngx_write_chain_proc) + (ngx_connection_t *c, ngx_chain_t *in); + + +ngx_chain_t *ngx_write_chain(ngx_connection_t *c, ngx_chain_t *in, off_t flush); + + +/* TODO: move it to OS specific file */ +#if (__FreeBSD__) +ngx_chain_t *ngx_freebsd_write_chain(ngx_connection_t *c, ngx_chain_t *in); +ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in); +#endif + + #endif /* _NGX_CONNECTION_H_INCLUDED_ */ |
