summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-09-04 15:01:31 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-09-04 15:01:31 +0200
commit1fc9595b2c66ac1b2af21c88f22d086defc8be57 (patch)
tree68494ff1e2934e13351a9d1705825089a8fff7be /src/bank-lib
parentf4ffc4a27bd3724d83c8d205b35d6ea884fc3cfe (diff)
downloadexchange-1fc9595b2c66ac1b2af21c88f22d086defc8be57.tar.gz
exchange-1fc9595b2c66ac1b2af21c88f22d086defc8be57.tar.bz2
exchange-1fc9595b2c66ac1b2af21c88f22d086defc8be57.zip
Calling bank legacy API in a test
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/bank_api_history.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c
index 6bc53cd50..74c462f07 100644
--- a/src/bank-lib/bank_api_history.c
+++ b/src/bank-lib/bank_api_history.c
@@ -369,16 +369,17 @@ conv_cancel (enum TALER_BANK_Direction direction)
* called.
*/
struct TALER_BANK_HistoryHandle *
-TALER_BANK_history_range (struct GNUNET_CURL_Context *ctx,
- const char *bank_base_url,
- const struct TALER_BANK_AuthenticationData *auth,
- uint64_t account_number,
- enum TALER_BANK_Direction direction,
- unsigned int ascending,
- struct GNUNET_TIME_Absolute start_date,
- struct GNUNET_TIME_Absolute end_date,
- TALER_BANK_HistoryResultCallback hres_cb,
- void *hres_cb_cls)
+TALER_BANK_history_range
+ (struct GNUNET_CURL_Context *ctx,
+ const char *bank_base_url,
+ const struct TALER_BANK_AuthenticationData *auth,
+ uint64_t account_number,
+ enum TALER_BANK_Direction direction,
+ unsigned int ascending,
+ struct GNUNET_TIME_Absolute start_date,
+ struct GNUNET_TIME_Absolute end_date,
+ TALER_BANK_HistoryResultCallback hres_cb,
+ void *hres_cb_cls)
{
struct TALER_BANK_HistoryHandle *hh;
char *url;