comparison src/os/unix/ngx_sendfile.h @ 0:4eff17414a43

nginx-0.0.1-2002-08-06-20:39:45 import The first code that uses "ngx_" prefix, the previous one used "gx_" prefix. At that point the code is not yet usable. The first draft ideas are dated back to 23.10.2001.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 06 Aug 2002 16:39:45 +0000
parents
children 34a521b1a148
comparison
equal deleted inserted replaced
-1:000000000000 0:4eff17414a43
1 #ifndef _NGX_SENDFILE_H_INCLUDED_
2 #define _NGX_SENDFILE_H_INCLUDED_
3
4
5 #include <ngx_types.h>
6 #include <ngx_log.h>
7 #include <ngx_sendv.h>
8
9 int ngx_sendfile(ngx_socket_t s,
10 ngx_iovec_t *headers, int hdr_cnt,
11 ngx_file_t fd, off_t offset, size_t nbytes,
12 ngx_iovec_t *trailers, int trl_cnt,
13 off_t *sent,
14 ngx_log_t *log);
15
16
17 #endif /* _NGX_SENDFILE_H_INCLUDED_ */