[hackers] [quark] remove unused code || Hiltjo Posthuma
commit 7a3af631373167443b2561bb2dccd9b8b403400f
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat Feb 15 15:09:55 2014 +0100
remove unused code
Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
diff --git a/quark.c b/quark.c
index 152476a..565e091 100644
--- a/quark.c
+++ b/quark.c
_AT_@ -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";
Received on Sun Jul 27 2014 - 12:36:46 CEST
This archive was generated by hypermail 2.3.0
: Sun Jul 27 2014 - 12:48:08 CEST