diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-07 17:50:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-07 17:50:53 +0200 |
commit | 8a60e6b62f173c1148686572e72ad552c3808325 (patch) | |
tree | 25db5bba3c0fe4df518d1bc601aeea28ecc458dc /src/include | |
parent | 26e061c2128666fcbdfb94d92343ec12599a59a1 (diff) | |
download | exchange-8a60e6b62f173c1148686572e72ad552c3808325.tar.xz |
-fix fakebank/tewgc logic and add test case
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_bank_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index c5d0e5cac..32a730b8e 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h @@ -304,8 +304,8 @@ struct TALER_BANK_CreditDetails * @param json detailed response from the HTTPD, or NULL if reply was not in JSON * @return #GNUNET_OK to continue, #GNUNET_SYSERR to abort iteration */ -typedef int -(*TALER_BANK_CreditHistoryCallback) ( +typedef enum GNUNET_GenericReturnValue +(*TALER_BANK_CreditHistoryCallback)( void *cls, unsigned int http_status, enum TALER_ErrorCode ec, @@ -414,8 +414,8 @@ struct TALER_BANK_DebitDetails * @param json detailed response from the HTTPD, or NULL if reply was not in JSON * @return #GNUNET_OK to continue, #GNUNET_SYSERR to abort iteration */ -typedef int -(*TALER_BANK_DebitHistoryCallback) ( +typedef enum GNUNET_GenericReturnValue +(*TALER_BANK_DebitHistoryCallback)( void *cls, unsigned int http_status, enum TALER_ErrorCode ec, |