comparison include/urweb/types_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 a5b08bdfa450
children ac1be85e91ad
comparison
equal deleted inserted replaced
1935:fda9d5af69e7 1936:6745eafff617
80 void (*client_init)(); 80 void (*client_init)();
81 void (*initializer)(struct uw_context *); 81 void (*initializer)(struct uw_context *);
82 void (*expunger)(struct uw_context *, uw_Basis_client); 82 void (*expunger)(struct uw_context *, uw_Basis_client);
83 83
84 void (*db_init)(struct uw_context *); 84 void (*db_init)(struct uw_context *);
85 int (*db_begin)(struct uw_context *); 85 int (*db_begin)(struct uw_context *, int could_write);
86 int (*db_commit)(struct uw_context *); 86 int (*db_commit)(struct uw_context *);
87 int (*db_rollback)(struct uw_context *); 87 int (*db_rollback)(struct uw_context *);
88 void (*db_close)(struct uw_context *); 88 void (*db_close)(struct uw_context *);
89 89
90 void (*handle)(struct uw_context *, char *); 90 void (*handle)(struct uw_context *, char *);