summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-01-26 14:59:19 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-01-26 14:59:19 -0500
commit703661dcfcf96e23acedf7c2a6d36cda3fb68bc6 (patch)
treeee5f39838aeadd38e02c34783400c48d5f2899e9 /include
parentfba3039a03ae55a080b530665cfa0a9271f55d98 (diff)
Handling errors during commit
Diffstat (limited to 'include')
-rw-r--r--include/urweb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h
index b62adce1..3a2d2baf 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -42,7 +42,8 @@ int uw_rollback(uw_context);
__attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...);
char *uw_error_message(uw_context);
-void uw_set_error_message(uw_context, const char *);
+void uw_set_error_message(uw_context, const char *fmt, ...);
+int uw_has_error(uw_context);
void uw_push_cleanup(uw_context, void (*func)(void *), void *arg);
void uw_pop_cleanup(uw_context);