From dfda73adf149d4277f6411c468483c08841aec2e Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 15 Feb 2014 15:09:55 +0100 Subject: [PATCH] remove unused code --- quark.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/quark.c b/quark.c index 152476a..565e091 100644 --- 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";