Mercurial > urweb
diff include/urweb.h @ 671:729e65db2e2f
Transactionalize channel operations
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 24 Mar 2009 14:44:45 -0400 |
parents | b0c1a46b1f15 |
children | 5ff1ff38e2db |
line wrap: on
line diff
--- a/include/urweb.h Sun Mar 22 16:03:45 2009 -0400 +++ b/include/urweb.h Tue Mar 24 14:44:45 2009 -0400 @@ -22,6 +22,8 @@ failure_kind uw_begin_init(uw_context); void uw_set_headers(uw_context, char *headers); failure_kind uw_begin(uw_context, char *path); +void uw_commit(uw_context); +int uw_rollback(uw_context); __attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...); char *uw_error_message(uw_context);