Mercurial > hg > nginx-quic
comparison src/core/ngx_sendfile.h @ 28:a117a7fdf042
nginx-0.0.1-2002-12-16-00:08:04 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Dec 2002 21:08:04 +0000 |
parents | |
children | e8cdc2989cee |
comparison
equal
deleted
inserted
replaced
27:a8d5abe713e6 | 28:a117a7fdf042 |
---|---|
1 #ifndef _NGX_SENDFILE_H_INCLUDED_ | |
2 #define _NGX_SENDFILE_H_INCLUDED_ | |
3 | |
4 | |
5 #include <ngx_config.h> | |
6 #include <ngx_types.h> | |
7 #include <ngx_files.h> | |
8 #include <ngx_socket.h> | |
9 #include <ngx_log.h> | |
10 #include <ngx_sendv.h> | |
11 | |
12 int ngx_sendfile(ngx_socket_t s, | |
13 ngx_iovec_t *headers, int hdr_cnt, | |
14 ngx_fd_t fd, off_t offset, size_t nbytes, | |
15 ngx_iovec_t *trailers, int trl_cnt, | |
16 off_t *sent, | |
17 ngx_log_t *log); | |
18 | |
19 | |
20 #endif /* _NGX_SENDFILE_H_INCLUDED_ */ |