summaryrefslogtreecommitdiff
path: root/src/include/taler_bank_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-07 21:11:56 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-07 21:11:56 +0200
commit18a020dd0241fbb7deead15b96d5f5fed9f1b9b5 (patch)
treef3a1173c4df79750330148f466e53134e08b9d79 /src/include/taler_bank_service.h
parent56786aea5a4dbdc80f257539e801176fc0697a3b (diff)
downloadexchange-18a020dd0241fbb7deead15b96d5f5fed9f1b9b5.tar.gz
exchange-18a020dd0241fbb7deead15b96d5f5fed9f1b9b5.tar.bz2
exchange-18a020dd0241fbb7deead15b96d5f5fed9f1b9b5.zip
implement fakebank support (incl. tests) for #5005/#4964/4959
Diffstat (limited to 'src/include/taler_bank_service.h')
-rw-r--r--src/include/taler_bank_service.h12
1 files changed, 7 insertions, 5 deletions
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;
};