1 #ifndef _HTTP_CHUNK_H_ 2 #define _HTTP_CHUNK_H_ 3 4 #include "server.h" 5 #include <sys/types.h> 6 7 int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len); 8 int http_chunk_append_buffer(server *srv, connection *con, buffer *mem); 9 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len); 10 off_t http_chunkqueue_length(server *srv, connection *con); 11 12 #endif 13