summaryrefslogtreecommitdiff
path: root/src/http_resp.h
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
commit8b2630a82fbecfd57fa38aebb397a755936690e5 (patch)
treea9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/http_resp.h
parente57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff)
downloadlighttpd-master.tar.gz
add README to point to lighttpd-1.4.x as stableHEADmaster
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/http_resp.h')
-rw-r--r--src/http_resp.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/http_resp.h b/src/http_resp.h
deleted file mode 100644
index ccc67f94..00000000
--- a/src/http_resp.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef _HTTP_RESP_H_
-#define _HTTP_RESP_H_
-
-#include <stdio.h>
-
-#include "buffer.h"
-#include "array.h"
-#include "array-static.h"
-#include "chunk.h"
-#include "http_parser.h"
-
-typedef struct {
- int protocol; /* http/1.0, http/1.1 */
- int status; /* e.g. 200 */
- buffer *reason; /* e.g. Ok */
- array *headers;
-} http_resp;
-
-typedef struct {
- int ok;
- buffer *errmsg;
-
- http_resp *resp;
-
- buffer_pool *unused_buffers;
-} http_resp_ctx_t;
-
-LI_API http_resp * http_response_init(void);
-LI_API void http_response_free(http_resp *resp);
-LI_API void http_response_reset(http_resp *resp);
-
-LI_API parse_status_t http_response_parse_cq(chunkqueue *cq, http_resp *http_response);
-
-/* declare prototypes for the parser */
-void *http_resp_parserAlloc(void *(*mallocProc)(size_t));
-void http_resp_parserFree(void *p, void (*freeProc)(void*));
-void http_resp_parserTrace(FILE *TraceFILE, char *zTracePrompt);
-void http_resp_parser(void *, int, buffer *, http_resp_ctx_t *);
-
-#endif