diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-03 10:26:52 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-08-03 10:26:52 +0200 |
commit | f0a1941f3957a53100035285b6c36d10e20c2174 (patch) | |
tree | 5bcc3ea3f03a543153874324ede68dac625dadea /src/mintdb/perf_taler_mintdb_interpreter.h | |
parent | 8cd6fc9b98d21e87300727e54efc5e958616244a (diff) | |
download | exchange-f0a1941f3957a53100035285b6c36d10e20c2174.tar.gz exchange-f0a1941f3957a53100035285b6c36d10e20c2174.tar.bz2 exchange-f0a1941f3957a53100035285b6c36d10e20c2174.zip |
Testing for the /deposit api call
Diffstat (limited to 'src/mintdb/perf_taler_mintdb_interpreter.h')
-rw-r--r-- | src/mintdb/perf_taler_mintdb_interpreter.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mintdb/perf_taler_mintdb_interpreter.h b/src/mintdb/perf_taler_mintdb_interpreter.h index 2ece735d9..63e36f7d2 100644 --- a/src/mintdb/perf_taler_mintdb_interpreter.h +++ b/src/mintdb/perf_taler_mintdb_interpreter.h @@ -337,6 +337,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 * * @exposes #PERF_TALER_MINTDB_COIN @@ -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 { |