• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/lighttpd-1.4.39/src/
1#ifndef _HTTP_CHUNK_H_
2#define _HTTP_CHUNK_H_
3
4#include "server.h"
5#include <sys/types.h>
6
7void http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len); /* copies memory */
8void http_chunk_append_buffer(server *srv, connection *con, buffer *mem); /* may reset "mem" */
9void http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len); /* copies "fn" */
10void http_chunk_close(server *srv, connection *con);
11
12#endif
13