File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / lighttpd / src / http_chunk.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Nov 2 10:35:00 2016 UTC (7 years, 8 months ago) by misho
Branches: lighttpd, MAIN
CVS tags: v1_4_41p8, HEAD
lighttpd 1.4.41

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>