summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-22 14:47:54 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-22 14:47:54 +0200
commitba5af82db137c465a84e44b85aeb7aa6fed0c957 (patch)
tree00d85da80f5c9f1b64afccc13ae3feb089aae2a9 /src/include/taler_exchangedb_plugin.h
parent0caf3ac2b7716b55da43b492d0a24e33694724c5 (diff)
downloadexchange-ba5af82db137c465a84e44b85aeb7aa6fed0c957.tar.gz
exchange-ba5af82db137c465a84e44b85aeb7aa6fed0c957.tar.bz2
exchange-ba5af82db137c465a84e44b85aeb7aa6fed0c957.zip
-bugfixes, and FTBFS
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 75e8f8bb6..1eab06fc8 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2095,6 +2095,21 @@ struct TALER_EXCHANGEDB_Plugin
/**
+ * Start a READ COMMITTED transaction.
+ *
+ * @param cls the `struct PostgresClosure` with the plugin-specific state
+ * @param session the database connection
+ * @param name unique name identifying the transaction (for debugging)
+ * must point to a constant
+ * @return #GNUNET_OK on success
+ */
+ int
+ (*start_read_committed)(void *cls,
+ struct TALER_EXCHANGEDB_Session *session,
+ const char *name);
+
+
+ /**
* Commit a transaction.
*
* @param cls the @e cls of this struct with the plugin-specific state