summaryrefslogtreecommitdiff
path: root/src/http_chunk.h
blob: 4ba24a26dcc941b04de3607b8bf79e2f72910627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _HTTP_CHUNK_H_
#define _HTTP_CHUNK_H_

#include "server.h"
#include <sys/types.h>

int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len);
int http_chunk_append_buffer(server *srv, connection *con, buffer *mem);
int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len);
off_t http_chunkqueue_length(server *srv, connection *con);

#endif