diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-02-06 17:21:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-02-06 17:21:13 +0000 |
commit | 7300977320e04280c13d4d89a279f75af9c5f893 (patch) | |
tree | 6c935b625eb2dbd83e71e5b2e23ac83bfd88aded /src/core/ngx_sendfile.h | |
parent | 2a2d2b5094ee88dba5984eddfc4135b66bb8007e (diff) | |
download | nginx-7300977320e04280c13d4d89a279f75af9c5f893.tar.gz nginx-7300977320e04280c13d4d89a279f75af9c5f893.zip |
nginx-0.0.1-2003-02-06-20:21:13 import
Diffstat (limited to 'src/core/ngx_sendfile.h')
-rw-r--r-- | src/core/ngx_sendfile.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/ngx_sendfile.h b/src/core/ngx_sendfile.h index a80750bef..3c211f51d 100644 --- a/src/core/ngx_sendfile.h +++ b/src/core/ngx_sendfile.h @@ -7,14 +7,17 @@ #include <ngx_files.h> #include <ngx_socket.h> #include <ngx_log.h> +#include <ngx_connection.h> #include <ngx_sendv.h> -int ngx_sendfile(ngx_socket_t s, +int ngx_sendfile(ngx_connection_t *c, ngx_iovec_t *headers, int hdr_cnt, ngx_fd_t fd, off_t offset, size_t nbytes, ngx_iovec_t *trailers, int trl_cnt, - off_t *sent, - ngx_log_t *log); + off_t *sent, u_int flags); + + +extern u_int ngx_sendfile_flags; #endif /* _NGX_SENDFILE_H_INCLUDED_ */ |