diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-11-06 09:47:16 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-11-06 09:47:16 -0500 |
commit | 027f68ea322f9a52c3440a8d88be8d924b5c0395 (patch) | |
tree | a2eeed536be5e7cb6b43bf4bc8c8b48af01784a0 /include | |
parent | d7bd7d38e8f785b7366495ce977379929e5eb913 (diff) |
Request header reading works
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h index 43a63324..c7d15a1c 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -15,7 +15,7 @@ void uw_reset_keep_request(uw_context); void uw_reset_keep_error_message(uw_context); failure_kind uw_begin_init(uw_context); -failure_kind uw_begin(uw_context, char *path); +failure_kind uw_begin(uw_context, char *headers, char *path); __attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...); char *uw_error_message(uw_context); @@ -95,3 +95,5 @@ uw_Basis_int uw_Basis_stringToInt_error(uw_context, uw_Basis_string); uw_Basis_float uw_Basis_stringToFloat_error(uw_context, uw_Basis_string); uw_Basis_bool uw_Basis_stringToBool_error(uw_context, uw_Basis_string); uw_Basis_time uw_Basis_stringToTime_error(uw_context, uw_Basis_string); + +uw_Basis_string uw_Basis_requestHeader(uw_context, uw_Basis_string); |