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