summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_db.h
diff options
context:
space:
mode:
authorFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-01 10:15:12 +0200
committerFournier Nicolas <nicolas.fournier@ensta-paristech.fr>2015-07-01 10:15:12 +0200
commitdde86c97dd28adc8aff08ed28f80af0ddc6c2b9e (patch)
tree0f383a89b353999ed0b43037d89a7d78d200156b /src/mint/taler-mint-httpd_db.h
parent17ae8871be76cb6f9357763d70c504dd2eb34106 (diff)
parent01b2a257b1add6809ffa734b2fe6bc9ac87f5477 (diff)
downloadexchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.tar.gz
exchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.tar.bz2
exchange-dde86c97dd28adc8aff08ed28f80af0ddc6c2b9e.zip
Merge branch 'master' of taler.net:/var/git/mint
Diffstat (limited to 'src/mint/taler-mint-httpd_db.h')
-rw-r--r--src/mint/taler-mint-httpd_db.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_db.h b/src/mint/taler-mint-httpd_db.h
index 56a4dd9cb..8a171153a 100644
--- a/src/mint/taler-mint-httpd_db.h
+++ b/src/mint/taler-mint-httpd_db.h
@@ -167,5 +167,24 @@ TMH_DB_execute_refresh_link (struct MHD_Connection *connection,
const struct TALER_CoinSpendPublicKeyP *coin_pub);
+
+/**
+ * Add an incoming transaction to the database.
+ *
+ * @param connection the MHD connection to handle
+ * @param reserve_pub public key of the reserve
+ * @param amount amount to add to the reserve
+ * @param execution_time when did we receive the wire transfer
+ * @param wire details about the wire transfer
+ * @return MHD result code
+ */
+int
+TMH_DB_execute_admin_add_incoming (struct MHD_Connection *connection,
+ const struct TALER_ReservePublicKeyP *reserve_pub,
+ const struct TALER_Amount *amount,
+ struct GNUNET_TIME_Absolute execution_time,
+ json_t *wire);
+
+
#endif
/* TALER_MINT_HTTPD_DB_H */