summaryrefslogtreecommitdiff
path: root/include/urweb.h
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 10:04:03 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-06 10:04:03 -0500
commit52bcb1e926570966efe93672e968999f4f2e14f8 (patch)
treeb2e3cbca76f43dc34740426f96e20b4817e85727 /include/urweb.h
parent027f68ea322f9a52c3440a8d88be8d924b5c0395 (diff)
Avoid allocating strings for requestHeader
Diffstat (limited to 'include/urweb.h')
-rw-r--r--include/urweb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h
index c7d15a1c..301129c5 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -15,7 +15,8 @@ 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 *headers, char *path);
+void uw_set_headers(uw_context, char *headers);
+failure_kind uw_begin(uw_context, char *path);
__attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...);
char *uw_error_message(uw_context);