commit dfda73adf149d4277f6411c468483c08841aec2e parent 101a5b5eaf400482139d4c4d40b7d5dfc4a54af4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 15 Feb 2014 15:09:55 +0100 remove unused code Diffstat:
M | quark.c | | | 16 | ---------------- |
1 file changed, 0 insertions(+), 16 deletions(-)
diff --git a/quark.c b/quark.c @@ -31,27 +31,11 @@ typedef struct { const char *mimetype; } MimeType; -typedef struct _Param Param; -struct _Param { - const char *key; - const char *value; - Param *next; -}; - typedef struct { int type; int fd; - const char *hostname; - const char *resource; - Param *params; } Request; -typedef struct { - const char *hostname; - const char *resource; - void (*handle)(const Request *r); -} RequestHandler; - static const char HttpOk[] = "200 OK"; static const char HttpMoved[] = "301 Moved Permanently"; static const char HttpUnauthorized[] = "401 Unauthorized";