summaryrefslogtreecommitdiff
path: root/src/keyvalue.h
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-11-21 23:03:44 +0100
committerArno Töll <arno@debian.org>2012-11-21 23:03:44 +0100
commitc99b717062c6228c4ac6df3831702f81c9806df4 (patch)
tree8cc83ebb36aa5b7f8691152db83071784fbfc1c7 /src/keyvalue.h
parent1b24d86e6b2179692e60091dec59f797cd308b9e (diff)
downloadlighttpd-c99b717062c6228c4ac6df3831702f81c9806df4.tar.gz
Imported Upstream version 1.4.13~r1370upstream/1.4.13_r1370
Diffstat (limited to 'src/keyvalue.h')
-rw-r--r--src/keyvalue.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/keyvalue.h b/src/keyvalue.h
index 1f37837..5caca63 100644
--- a/src/keyvalue.h
+++ b/src/keyvalue.h
@@ -9,19 +9,19 @@
# include <pcre.h>
#endif
-typedef enum {
- HTTP_METHOD_UNSET = -1,
- HTTP_METHOD_GET,
- HTTP_METHOD_POST,
- HTTP_METHOD_HEAD,
- HTTP_METHOD_OPTIONS,
+typedef enum {
+ HTTP_METHOD_UNSET = -1,
+ HTTP_METHOD_GET,
+ HTTP_METHOD_POST,
+ HTTP_METHOD_HEAD,
+ HTTP_METHOD_OPTIONS,
HTTP_METHOD_PROPFIND, /* WebDAV */
- HTTP_METHOD_MKCOL,
- HTTP_METHOD_PUT,
- HTTP_METHOD_DELETE,
- HTTP_METHOD_COPY,
- HTTP_METHOD_MOVE,
- HTTP_METHOD_PROPPATCH,
+ HTTP_METHOD_MKCOL,
+ HTTP_METHOD_PUT,
+ HTTP_METHOD_DELETE,
+ HTTP_METHOD_COPY,
+ HTTP_METHOD_MOVE,
+ HTTP_METHOD_PROPPATCH,
HTTP_METHOD_REPORT, /* DeltaV */
HTTP_METHOD_CHECKOUT,
HTTP_METHOD_CHECKIN,
@@ -39,13 +39,13 @@ typedef enum { HTTP_VERSION_UNSET = -1, HTTP_VERSION_1_0, HTTP_VERSION_1_1 } htt
typedef struct {
int key;
-
+
char *value;
} keyvalue;
typedef struct {
char *key;
-
+
char *value;
} s_keyvalue;
@@ -54,7 +54,7 @@ typedef struct {
pcre *key;
pcre_extra *key_extra;
#endif
-
+
buffer *value;
} pcre_keyvalue;
@@ -62,7 +62,7 @@ typedef enum { HTTP_AUTH_BASIC, HTTP_AUTH_DIGEST } httpauth_type;
typedef struct {
char *key;
-
+
char *realm;
httpauth_type type;
} httpauth_keyvalue;