Mercurial > urweb
diff include/urweb.h @ 1294:b4480a56cab7
Server-side 'onError'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 07 Sep 2010 08:28:07 -0400 |
parents | e80582b927f2 |
children | 929981850d9d |
line wrap: on
line diff
--- a/include/urweb.h Sun Sep 05 14:00:57 2010 -0400 +++ b/include/urweb.h Tue Sep 07 08:28:07 2010 -0400 @@ -36,6 +36,7 @@ void uw_set_on_success(char *); void uw_set_headers(uw_context, char *(*get_header)(void *, const char *), void *get_header_data); failure_kind uw_begin(uw_context, char *path); +failure_kind uw_begin_onError(uw_context, char *msg); void uw_login(uw_context); void uw_commit(uw_context); int uw_rollback(uw_context);