comparison 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
comparison
equal deleted inserted replaced
670:f73913d97a40 671:729e65db2e2f
20 void uw_reset_keep_error_message(uw_context); 20 void uw_reset_keep_error_message(uw_context);
21 21
22 failure_kind uw_begin_init(uw_context); 22 failure_kind uw_begin_init(uw_context);
23 void uw_set_headers(uw_context, char *headers); 23 void uw_set_headers(uw_context, char *headers);
24 failure_kind uw_begin(uw_context, char *path); 24 failure_kind uw_begin(uw_context, char *path);
25 void uw_commit(uw_context);
26 int uw_rollback(uw_context);
25 27
26 __attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...); 28 __attribute__((noreturn)) void uw_error(uw_context, failure_kind, const char *fmt, ...);
27 char *uw_error_message(uw_context); 29 char *uw_error_message(uw_context);
28 void uw_push_cleanup(uw_context, void (*func)(void *), void *arg); 30 void uw_push_cleanup(uw_context, void (*func)(void *), void *arg);
29 void uw_pop_cleanup(uw_context); 31 void uw_pop_cleanup(uw_context);