aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-22 11:26:10 +0100
committerFlorian Dold <florian.dold@gmail.com>2015-12-22 11:26:10 +0100
commit24bfedf04e2603b263e5c28ef94b45b2643e2ab2 (patch)
treefe34fb68e41519931815c6364103135b04342bb8 /src/mint/taler-mint-httpd_db.h
parentfdf51f8c73fadca9301f53fede630a43cc33091a (diff)
parent204f732c1a408490d6d13fa36b0635ce72fd4575 (diff)
Merge branch 'master' of ssh://taler.net/var/git/mint
Diffstat (limited to 'src/mint/taler-mint-httpd_db.h')
-rw-r--r--src/mint/taler-mint-httpd_db.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_db.h b/src/mint/taler-mint-httpd_db.h
index f1d9fbfb..d9adba2d 100644
--- a/src/mint/taler-mint-httpd_db.h
+++ b/src/mint/taler-mint-httpd_db.h
@@ -192,5 +192,25 @@ TMH_DB_execute_admin_add_incoming (struct MHD_Connection *connection,
json_t *wire);
+/**
+ * Execute a "/deposit/wtid". Returns the transfer information
+ * associated with the given deposit.
+ *
+ * @param connection the MHD connection to handle
+ * @param h_contract hash of the contract
+ * @param h_wire hash of the wire details
+ * @param coin_pub public key of the coin to link
+ * @param merchant_pub public key of the merchant
+ * @param transaction_id transaction ID of the merchant
+ * @return MHD result code
+ */
+int
+TMH_DB_execute_deposit_wtid (struct MHD_Connection *connection,
+ const struct GNUNET_HashCode *h_contract,
+ const struct GNUNET_HashCode *h_wire,
+ const struct TALER_CoinSpendPublicKeyP *coin_pub,
+ const struct TALER_MerchantPublicKeyP *merchant_pub,
+ uint64_t transaction_id);
+
#endif
/* TALER_MINT_HTTPD_DB_H */