summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-03-24 14:44:45 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-03-24 14:44:45 -0400
commitdcdab80311789d08cb44a8db311963553f00fd8e (patch)
tree12a2cd34bffd3e5c5f6f7161f851f2b5ce771889 /include
parente2f6b11fd4fc806c5cdf88cf669ed5b2d9e34caf (diff)
Transactionalize channel operations
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h2
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);