summaryrefslogtreecommitdiff
path: root/src/http_kv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http_kv.h')
-rw-r--r--src/http_kv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http_kv.h b/src/http_kv.h
index 41abb6aa..8b73d7b2 100644
--- a/src/http_kv.h
+++ b/src/http_kv.h
@@ -61,8 +61,8 @@ typedef enum { HTTP_VERSION_UNSET = -1, HTTP_VERSION_1_0, HTTP_VERSION_1_1 } htt
const char *get_http_status_name(int i);
const char *get_http_version_name(int i);
const char *get_http_method_name(http_method_t i);
-int get_http_version_key(const char *s);
-http_method_t get_http_method_key(const char *s);
+int get_http_version_key(const char *s, size_t slen);
+http_method_t get_http_method_key(const char *s, size_t slen);
void http_status_append(buffer *b, int status);
void http_method_append(buffer *b, http_method_t method);