diff include/urweb/urweb_cpp.h @ 1936:6745eafff617

Start SQL transactions as read-only when possible, based on conservative program analysis
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 Dec 2013 17:42:48 -0500
parents 420d129c4174
children d02c1a0d8082
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h	Thu Dec 12 10:31:34 2013 -0500
+++ b/include/urweb/urweb_cpp.h	Thu Dec 12 17:42:48 2013 -0500
@@ -86,6 +86,7 @@
 
 void uw_set_needs_push(struct uw_context *, int);
 void uw_set_needs_sig(struct uw_context *, int);
+void uw_set_could_write_db(struct uw_context *, int);
 
 char *uw_Basis_htmlifyInt(struct uw_context *, uw_Basis_int);
 char *uw_Basis_htmlifyFloat(struct uw_context *, uw_Basis_float);