Mercurial > urweb
diff include/urweb.h @ 854:158d980889ac
Further refactoring of request.c to work with CGI
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 23 Jun 2009 15:40:35 -0400 |
parents | 249740301a0a |
children | 86ec89baee01 |
line wrap: on
line diff
--- a/include/urweb.h Tue Jun 23 14:05:12 2009 -0400 +++ b/include/urweb.h Tue Jun 23 15:40:35 2009 -0400 @@ -24,8 +24,7 @@ void uw_reset_keep_error_message(uw_context); failure_kind uw_begin_init(uw_context); -void uw_set_headers(uw_context, char *headers); -void uw_headers_moved(uw_context ctx, char *headers); +void uw_set_headers(uw_context, char *(*get_header)(void *, const char *), void *get_header_data); failure_kind uw_begin(uw_context, char *path); void uw_login(uw_context); void uw_commit(uw_context);