diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-03-24 14:44:45 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-03-24 14:44:45 -0400 |
commit | ecbb6cad02cdce70c7dcc612b446d35bac70652b (patch) | |
tree | 12a2cd34bffd3e5c5f6f7161f851f2b5ce771889 /include | |
parent | 015297d90b7b9e87034a100d9ce417af6929eaa6 (diff) |
Transactionalize channel operations
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h index e508c24e..6a9a48a6 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -22,6 +22,8 @@ void uw_reset_keep_error_message(uw_context); 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); |