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.
23 lines
502 B
C
23 lines
502 B
C
#ifndef _LIGHTTPD_HTTP_REQUEST_PARSER_H_
|
|
#define _LIGHTTPD_HTTP_REQUEST_PARSER_H_
|
|
|
|
struct http_request_ctx;
|
|
typedef struct http_request_ctx http_request_ctx;
|
|
|
|
#include "chunk_parser.h"
|
|
#include "request.h"
|
|
|
|
struct http_request_ctx {
|
|
chunk_parser_ctx chunk_ctx;
|
|
|
|
chunk_parser_mark mark;
|
|
|
|
request *request;
|
|
};
|
|
|
|
LI_API void http_request_parser_init(http_request_ctx *ctx, request *req, chunkqueue *cq);
|
|
LI_API handler_t http_request_parse(server *srv, connection *con, http_request_ctx *ctx);
|
|
|
|
|
|
#endif
|