2008-08-13 19:50:07 +00:00
|
|
|
#ifndef _LIGHTTPD_FILTER_CHUNKED_H_
|
|
|
|
#define _LIGHTTPD_FILTER_CHUNKED_H_
|
|
|
|
|
2008-11-16 20:33:53 +00:00
|
|
|
#include <lighttpd/base.h>
|
2008-08-13 19:50:07 +00:00
|
|
|
|
2009-10-19 19:45:00 +00:00
|
|
|
/* initialize with zero */
|
|
|
|
typedef struct {
|
|
|
|
int parse_state;
|
|
|
|
goffset cur_chunklen;
|
|
|
|
} liFilterDecodeState;
|
|
|
|
|
|
|
|
LI_API liHandlerResult li_filter_chunked_encode(liVRequest *vr, liChunkQueue *out, liChunkQueue *in);
|
|
|
|
LI_API liHandlerResult li_filter_chunked_decode(liVRequest *vr, liChunkQueue *out, liChunkQueue *in, liFilterDecodeState *state);
|
2008-08-13 19:50:07 +00:00
|
|
|
|
|
|
|
#endif
|