diff include/urweb.h @ 458:8f65b0fa3b29

Avoid allocating strings for requestHeader
author Adam Chlipala <adamc@hcoop.net>
date Thu, 06 Nov 2008 10:04:03 -0500
parents 360cbc202756
children 21bb5bbba2e9
line wrap: on
line diff
--- a/include/urweb.h	Thu Nov 06 09:47:16 2008 -0500
+++ b/include/urweb.h	Thu Nov 06 10:04:03 2008 -0500
@@ -15,7 +15,8 @@
 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);