From 8b2630a82fbecfd57fa38aebb397a755936690e5 Mon Sep 17 00:00:00 2001 From: stbuehler Date: Fri, 18 Sep 2015 15:15:18 +0000 Subject: add README to point to lighttpd-1.4.x as stable git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/http_req.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/http_req.h (limited to 'src/http_req.h') diff --git a/src/http_req.h b/src/http_req.h deleted file mode 100644 index 54b4a087..00000000 --- a/src/http_req.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef _HTTP_REQ_H_ -#define _HTTP_REQ_H_ - -#include - -#include "array.h" -#include "chunk.h" -#include "http_parser.h" - -typedef struct { - int protocol; /* http/1.0, http/1.1 */ - int method; /* e.g. GET */ - buffer *uri_raw; /* e.g. /foobar/ */ - array *headers; -} http_req; - -typedef struct { - int ok; - buffer *errmsg; - - http_req *req; - buffer_pool *unused_buffers; -} http_req_ctx_t; - -LI_API http_req * http_request_init(void); -LI_API void http_request_free(http_req *req); -LI_API void http_request_reset(http_req *req); - -LI_API parse_status_t http_request_parse_cq(chunkqueue *cq, http_req *http_request); - -/* declare prototypes for the parser */ -void *http_req_parserAlloc(void *(*mallocProc)(size_t)); -void http_req_parserFree(void *p, void (*freeProc)(void*)); -void http_req_parserTrace(FILE *TraceFILE, char *zTracePrompt); -void http_req_parser(void *, int, buffer *, http_req_ctx_t *); - -#endif -- cgit v1.2.1