From 18a020dd0241fbb7deead15b96d5f5fed9f1b9b5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 May 2017 21:11:56 +0200 Subject: implement fakebank support (incl. tests) for #5005/#4964/4959 --- src/include/taler_bank_service.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/include/taler_bank_service.h') diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index 75220233d..803250d56 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h @@ -98,11 +98,13 @@ struct TALER_BANK_AdminAddIncomingHandle; * @param cls closure * @param http_status HTTP response code, #MHD_HTTP_OK (200) for successful status request * 0 if the bank's reply is bogus (fails to follow the protocol) + * @param serial_id unique ID of the wire transfer in the bank's records; UINT64_MAX on error * @param json detailed response from the HTTPD, or NULL if reply was not in JSON */ typedef void (*TALER_BANK_AdminAddIncomingResultCallback) (void *cls, unsigned int http_status, + uint64_t serial_id, const json_t *json); @@ -188,22 +190,22 @@ struct TALER_BANK_HistoryHandle; struct TALER_BANK_TransferDetails { /** - * amount that was transferred + * Amount that was transferred */ struct TALER_Amount amount; /** - * when did the transfer happen + * Time of the the transfer */ struct GNUNET_TIME_Absolute execution_date; /** - * wire transfer subject + * Wire transfer subject */ - const char *wire_transfer_subject; + char *wire_transfer_subject; /** - * what was the other account that was involved + * The other account that was involved */ json_t *account_details; }; -- cgit v1.2.3