diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-05 11:11:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-05 11:11:03 +0200 |
commit | da75b30a258e35d6256aa8d61a0b729ae5c4c896 (patch) | |
tree | be188924faee7515792ff0b0867082431c9a4a18 /src/include/taler_wire_plugin.h | |
parent | ed1a4c08fd67e00f61d3e36e33833657d660bad3 (diff) |
starting to implement taler-exchange-wirewatch
Diffstat (limited to 'src/include/taler_wire_plugin.h')
-rw-r--r-- | src/include/taler_wire_plugin.h | 13 |
1 files changed, 3 insertions, 10 deletions
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); }; |