Mercurial > hg > nginx-quic
comparison src/core/ngx_sendfile.h @ 59:e8cdc2989cee
nginx-0.0.1-2003-02-06-20:21:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 06 Feb 2003 17:21:13 +0000 |
parents | a117a7fdf042 |
children |
comparison
equal
deleted
inserted
replaced
58:6b13b1cadabe | 59:e8cdc2989cee |
---|---|
5 #include <ngx_config.h> | 5 #include <ngx_config.h> |
6 #include <ngx_types.h> | 6 #include <ngx_types.h> |
7 #include <ngx_files.h> | 7 #include <ngx_files.h> |
8 #include <ngx_socket.h> | 8 #include <ngx_socket.h> |
9 #include <ngx_log.h> | 9 #include <ngx_log.h> |
10 #include <ngx_connection.h> | |
10 #include <ngx_sendv.h> | 11 #include <ngx_sendv.h> |
11 | 12 |
12 int ngx_sendfile(ngx_socket_t s, | 13 int ngx_sendfile(ngx_connection_t *c, |
13 ngx_iovec_t *headers, int hdr_cnt, | 14 ngx_iovec_t *headers, int hdr_cnt, |
14 ngx_fd_t fd, off_t offset, size_t nbytes, | 15 ngx_fd_t fd, off_t offset, size_t nbytes, |
15 ngx_iovec_t *trailers, int trl_cnt, | 16 ngx_iovec_t *trailers, int trl_cnt, |
16 off_t *sent, | 17 off_t *sent, u_int flags); |
17 ngx_log_t *log); | 18 |
19 | |
20 extern u_int ngx_sendfile_flags; | |
18 | 21 |
19 | 22 |
20 #endif /* _NGX_SENDFILE_H_INCLUDED_ */ | 23 #endif /* _NGX_SENDFILE_H_INCLUDED_ */ |