diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-08 18:20:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-08 18:20:44 +0200 |
commit | c93f64710674bb4f635288c5e326f2cf47b8e8c7 (patch) | |
tree | 1b21032df96468b831cb7c6d379592911277510c /src/exchange/taler-exchange-httpd_db.h | |
parent | 8e03498a487d3d00c20167dc19c24f9a0fe1a647 (diff) | |
download | exchange-c93f64710674bb4f635288c5e326f2cf47b8e8c7.tar.gz exchange-c93f64710674bb4f635288c5e326f2cf47b8e8c7.tar.bz2 exchange-c93f64710674bb4f635288c5e326f2cf47b8e8c7.zip |
merge known_coin transaction into main transaction (for #6416)
Diffstat (limited to 'src/exchange/taler-exchange-httpd_db.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_db.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.h b/src/exchange/taler-exchange-httpd_db.h index f97f488de..e0948d029 100644 --- a/src/exchange/taler-exchange-httpd_db.h +++ b/src/exchange/taler-exchange-httpd_db.h @@ -27,44 +27,6 @@ /** - * Type of closure for #TEH_DB_know_coin_transaction. - */ -struct TEH_DB_KnowCoinContext -{ - /** - * The coin to make sure it is known. - */ - const struct TALER_CoinPublicInfo *coin; - - /** - * MHD connection to queue errors with. - */ - struct MHD_Connection *connection; -}; - - -/** - * Execute database transaction to ensure coin is known. Run the transaction - * logic; IF it returns a non-error code, the transaction logic MUST - * NOT queue a MHD response. IF it returns an hard error, the - * transaction logic MUST queue a MHD response and set @a mhd_ret. IF - * it returns the soft error code, the function MAY be called again to - * retry and MUST not queue a MHD response. - * - * @param cls a `struct TEH_DB_KnowCoinContext` - * @param connection MHD request context, must not be NULL - * @param session database session and transaction to use - * @param[out] mhd_ret set to MHD status on error, must not be NULL - * @return transaction status - */ -enum GNUNET_DB_QueryStatus -TEH_DB_know_coin_transaction (void *cls, - struct MHD_Connection *connection, - struct TALER_EXCHANGEDB_Session *session, - MHD_RESULT *mhd_ret); - - -/** * Function implementing a database transaction. Runs the transaction * logic; IF it returns a non-error code, the transaction logic MUST * NOT queue a MHD response. IF it returns an hard error, the |