diff options
Diffstat (limited to 'src/include/taler_bank_service.h')
-rw-r--r-- | src/include/taler_bank_service.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index 32a730b8e..db78ca6a8 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of TALER | 2 | This file is part of TALER |
3 | Copyright (C) 2015-2020 Taler Systems SA | 3 | Copyright (C) 2015-2021 Taler Systems SA |
4 | 4 | ||
5 | TALER is free software; you can redistribute it and/or modify it under the | 5 | TALER is free software; you can redistribute it and/or modify it under the |
6 | terms of the GNU Affero General Public License as published by the Free Software | 6 | terms of the GNU Affero General Public License as published by the Free Software |
@@ -278,13 +278,13 @@ struct TALER_BANK_CreditDetails | |||
278 | * payto://-URL of the source account that | 278 | * payto://-URL of the source account that |
279 | * send the funds. | 279 | * send the funds. |
280 | */ | 280 | */ |
281 | const char *debit_account_url; | 281 | const char *debit_account_uri; |
282 | 282 | ||
283 | /** | 283 | /** |
284 | * payto://-URL of the target account that | 284 | * payto://-URL of the target account that |
285 | * received the funds. | 285 | * received the funds. |
286 | */ | 286 | */ |
287 | const char *credit_account_url; | 287 | const char *credit_account_uri; |
288 | }; | 288 | }; |
289 | 289 | ||
290 | 290 | ||
@@ -323,6 +323,8 @@ typedef enum GNUNET_GenericReturnValue | |||
323 | * @param num_results how many results do we want; negative numbers to go into the past, | 323 | * @param num_results how many results do we want; negative numbers to go into the past, |
324 | * positive numbers to go into the future starting at @a start_row; | 324 | * positive numbers to go into the future starting at @a start_row; |
325 | * must not be zero. | 325 | * must not be zero. |
326 | * @param timeout how long the client is willing to wait for more results | ||
327 | * (only useful if @a num_results is positive) | ||
326 | * @param hres_cb the callback to call with the transaction history | 328 | * @param hres_cb the callback to call with the transaction history |
327 | * @param hres_cb_cls closure for the above callback | 329 | * @param hres_cb_cls closure for the above callback |
328 | * @return NULL | 330 | * @return NULL |
@@ -334,6 +336,7 @@ TALER_BANK_credit_history (struct GNUNET_CURL_Context *ctx, | |||
334 | const struct TALER_BANK_AuthenticationData *auth, | 336 | const struct TALER_BANK_AuthenticationData *auth, |
335 | uint64_t start_row, | 337 | uint64_t start_row, |
336 | int64_t num_results, | 338 | int64_t num_results, |
339 | struct GNUNET_TIME_Relative timeout, | ||
337 | TALER_BANK_CreditHistoryCallback hres_cb, | 340 | TALER_BANK_CreditHistoryCallback hres_cb, |
338 | void *hres_cb_cls); | 341 | void *hres_cb_cls); |
339 | 342 | ||
@@ -387,13 +390,13 @@ struct TALER_BANK_DebitDetails | |||
387 | * payto://-URI of the source account that | 390 | * payto://-URI of the source account that |
388 | * send the funds. | 391 | * send the funds. |
389 | */ | 392 | */ |
390 | const char *debit_account_url; // FIXME: rename: url->uri | 393 | const char *debit_account_uri; |
391 | 394 | ||
392 | /** | 395 | /** |
393 | * payto://-URI of the target account that | 396 | * payto://-URI of the target account that |
394 | * received the funds. | 397 | * received the funds. |
395 | */ | 398 | */ |
396 | const char *credit_account_url; // FIXME: rename: url->uri | 399 | const char *credit_account_uri; |
397 | 400 | ||
398 | }; | 401 | }; |
399 | 402 | ||
@@ -433,6 +436,8 @@ typedef enum GNUNET_GenericReturnValue | |||
433 | * @param num_results how many results do we want; negative numbers to go into the past, | 436 | * @param num_results how many results do we want; negative numbers to go into the past, |
434 | * positive numbers to go into the future starting at @a start_row; | 437 | * positive numbers to go into the future starting at @a start_row; |
435 | * must not be zero. | 438 | * must not be zero. |
439 | * @param timeout how long the client is willing to wait for more results | ||
440 | * (only useful if @a num_results is positive) | ||
436 | * @param hres_cb the callback to call with the transaction history | 441 | * @param hres_cb the callback to call with the transaction history |
437 | * @param hres_cb_cls closure for the above callback | 442 | * @param hres_cb_cls closure for the above callback |
438 | * @return NULL | 443 | * @return NULL |
@@ -444,6 +449,7 @@ TALER_BANK_debit_history (struct GNUNET_CURL_Context *ctx, | |||
444 | const struct TALER_BANK_AuthenticationData *auth, | 449 | const struct TALER_BANK_AuthenticationData *auth, |
445 | uint64_t start_row, | 450 | uint64_t start_row, |
446 | int64_t num_results, | 451 | int64_t num_results, |
452 | struct GNUNET_TIME_Relative timeout, | ||
447 | TALER_BANK_DebitHistoryCallback hres_cb, | 453 | TALER_BANK_DebitHistoryCallback hres_cb, |
448 | void *hres_cb_cls); | 454 | void *hres_cb_cls); |
449 | 455 | ||