From f0a1941f3957a53100035285b6c36d10e20c2174 Mon Sep 17 00:00:00 2001 From: Fournier Nicolas Date: Mon, 3 Aug 2015 10:26:52 +0200 Subject: Testing for the /deposit api call --- src/mintdb/perf_taler_mintdb_interpreter.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/mintdb/perf_taler_mintdb_interpreter.h') diff --git a/src/mintdb/perf_taler_mintdb_interpreter.h b/src/mintdb/perf_taler_mintdb_interpreter.h index 2ece735d..63e36f7d 100644 --- a/src/mintdb/perf_taler_mintdb_interpreter.h +++ b/src/mintdb/perf_taler_mintdb_interpreter.h @@ -336,6 +336,14 @@ } +/** + * the /deposit API call + */ +#define PERF_TALER_MONTDB_INIT_CMD_DEPOSIT(_label, _label_coin)\ + PERF_TALER_MINTDB_INIT_CMD_INSERT_DEPOSIT (_label ":insert deposit", _label_coin), \ + PERF_TALER_MINTDB_INIT_CMD_GET_DEPOSIT (_label ":get deposit", _label ":insert deposit") + + /** * Inserts informations about a withdrawal in the database * @@ -395,11 +403,11 @@ * @param _label the label of the command * @param _label_coin the coin used for the deposit */ -#define PERF_TALER_MINTDB_INIT_CMD_deposit(_label, _label_coin) \ +#define PERF_TALER_MINTDB_INIT_CMD_DEPOSIT(_label, _label_coin) \ PERF_TALER_MINTDB_INIT_CMD_GET_COIN_TRANSACTION (_label "coin history", \ _label_coin), \ PERF_TALER_MINTDB_INIT_CMD_INSERT_DEPOSIT (_label "deposit", \ - _label_coin), + _label_coin) /** @@ -854,7 +862,7 @@ union PERF_TALER_MINTDB_CMD_Details /** - * Extra data related to the #PERF_TALER_MINTDB_CMD_GET_WITHDRAW command + * Extra data related to the #PERF_TALER_MINTDB_CMD_INSERT_WITHDRAW command */ struct PERF_TALER_MINTDB_CMD_insertWithdrawDetails { -- cgit v1.2.3