From da75b30a258e35d6256aa8d61a0b729ae5c4c896 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 May 2017 11:11:03 +0200 Subject: starting to implement taler-exchange-wirewatch --- src/include/taler_wire_plugin.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_wire_plugin.h b/src/include/taler_wire_plugin.h index 5e3936804..032052ee5 100644 --- a/src/include/taler_wire_plugin.h +++ b/src/include/taler_wire_plugin.h @@ -46,25 +46,17 @@ typedef void * the bank for the transaction history. * * @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), - * #MHD_HTTP_NO_CONTENT if there are no more results; on success the - * last callback is always of this status (even if `abs(num_results)` were - * already returned). * @param dir direction of the transfer * @param row_off identification of the position at which we are querying * @param row_off_size number of bytes in @a row_off * @param details details about the wire transfer - * @param json detailed response from the HTTPD, or NULL if reply was not in JSON */ typedef void (*TALER_WIRE_HistoryResultCallback) (void *cls, - unsigned int http_status, enum TALER_BANK_Direction dir, const void *row_off, size_t row_off_size, - const struct TALER_BANK_TransferDetails *details, - const json_t *json); + const struct TALER_BANK_TransferDetails *details); /** @@ -283,7 +275,8 @@ struct TALER_WIRE_Plugin * @param whh operation to cancel */ void - (*get_history_cancel) (struct TALER_WIRE_HistoryHandle *whh); + (*get_history_cancel) (void *cls, + struct TALER_WIRE_HistoryHandle *whh); }; -- cgit v1.2.3