summaryrefslogtreecommitdiff
path: root/include/urweb
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2015-10-17 10:49:25 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2015-10-17 10:49:25 -0400
commitee354c938959d7ae904fafae99966c3d136070e1 (patch)
tree864c452ff007b190575e7561bf94f389e833b1f7 /include/urweb
parent4f4d74c0803d70ea7755ee877997f1e324f6c06b (diff)
Start of support for surviving database-server restarts, for Postgres
Diffstat (limited to 'include/urweb')
-rw-r--r--include/urweb/urweb_cpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/urweb/urweb_cpp.h b/include/urweb/urweb_cpp.h
index 39679dd5..b1d2048e 100644
--- a/include/urweb/urweb_cpp.h
+++ b/include/urweb/urweb_cpp.h
@@ -40,6 +40,7 @@ uw_loggers* uw_get_loggers(struct uw_context *ctx);
uw_loggers* uw_get_loggers(struct uw_context *ctx);
failure_kind uw_begin(struct uw_context *, char *path);
void uw_ensure_transaction(struct uw_context *);
+int uw_try_reconnecting_if_at_most_one(struct uw_context *);
failure_kind uw_begin_onError(struct uw_context *, char *msg);
void uw_login(struct uw_context *);
int uw_commit(struct uw_context *);