diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-06-25 17:27:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-06-25 17:27:49 +0200 |
commit | 057ac0fa95c29421b3868f43696023af3ec4cdd6 (patch) | |
tree | 961e58368be2fa9e2959266f0a6c6d4598c42ff3 /src/include/taler_merchantdb_plugin.h | |
parent | 2bc6e492ee9aaa6ed1fa5001b585db4cad76e92e (diff) | |
download | merchant-057ac0fa95c29421b3868f43696023af3ec4cdd6.tar.gz merchant-057ac0fa95c29421b3868f43696023af3ec4cdd6.tar.bz2 merchant-057ac0fa95c29421b3868f43696023af3ec4cdd6.zip |
logic to update 'wired' status of an order
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 36925549..71b28fb7 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -698,6 +698,18 @@ struct TALER_MERCHANTDB_Plugin const char *name); /** + * Start a transaction with isolation level 'read committed'. + * + * @param cls the `struct PostgresClosure` with the plugin-specific state + * @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, + const char *name); + + /** * Roll back the current transaction of a database connection. * * @param cls the `struct PostgresClosure` with the plugin-specific state |