You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
785 B

#error Please include <lighttpd/base.h> instead of this file
struct http_response_ctx;
typedef struct http_response_ctx http_response_ctx;
struct http_response_ctx {
chunk_parser_ctx chunk_ctx;
struct response *response;
gboolean accept_cgi, accept_nph;
chunk_parser_mark mark;
GString *h_key, *h_value;
LI_API void http_response_parser_init(http_response_ctx* ctx, response *req, chunkqueue *cq, gboolean accept_cgi, gboolean accept_nph);
LI_API void http_response_parser_reset(http_response_ctx* ctx);
LI_API void http_response_parser_clear(http_response_ctx *ctx);
LI_API handler_t http_response_parse(vrequest *vr, http_response_ctx *ctx);