From dcdab80311789d08cb44a8db311963553f00fd8e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 24 Mar 2009 14:44:45 -0400 Subject: Transactionalize channel operations --- include/urweb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3