diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-29 17:53:00 +0000 |
commit | 59f5fd20e2f59ae186d5a461aef7782dd55e4e7b (patch) | |
tree | 10475faf0b6dcb812b64da679f4ae8ff01c45874 /data/lighttpd/lighttpd-1.4.53/src/http_chunk.h | |
parent | f06e297cd175cca39745f6d1970225ae88aa68f1 (diff) |
Updated lighttpd.
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/src/http_chunk.h')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/src/http_chunk.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/src/http_chunk.h b/data/lighttpd/lighttpd-1.4.53/src/http_chunk.h new file mode 100644 index 000000000..ab335257a --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/src/http_chunk.h @@ -0,0 +1,14 @@ +#ifndef _HTTP_CHUNK_H_ +#define _HTTP_CHUNK_H_ +#include "first.h" + +#include "base_decls.h" + +int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len); /* copies memory */ +int http_chunk_append_buffer(server *srv, connection *con, buffer *mem); /* may reset "mem" */ +int http_chunk_transfer_cqlen(server *srv, connection *con, chunkqueue *src, size_t len); +int http_chunk_append_file(server *srv, connection *con, buffer *fn); /* copies "fn" */ +int http_chunk_append_file_range(server *srv, connection *con, buffer *fn, off_t offset, off_t len); /* copies "fn" */ +void http_chunk_close(server *srv, connection *con); + +#endif |