diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-06-23 19:41:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-06-23 19:41:51 +0200 |
commit | ca01072fdd9bb5d154336d468d19b86224f5b644 (patch) | |
tree | c5ceab63183d6460e82dc14ec62a8c17f0d9e0cb /src/include | |
parent | 6108acb92327c90cbbee8c3a60a92b3a3a05d881 (diff) |
work on withdraw history parser refactoring, towards finishing the implementation
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_mint_service.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h index a243da540..0e79a5f73 100644 --- a/src/include/taler_mint_service.h +++ b/src/include/taler_mint_service.h @@ -476,9 +476,9 @@ struct TALER_MINT_ReserveHistory /** * Signature authorizing the withdrawal for outgoing transaction. */ - struct TALER_ReserveSignatureP out_authorization_sig; + json_t *out_authorization_sig; - }; + } details; }; @@ -490,13 +490,15 @@ struct TALER_MINT_ReserveHistory * @param cls closure * @param http_status HTTP response code, #MHD_HTTP_OK (200) for successful status request * 0 if the mint's reply is bogus (fails to follow the protocol) - * @param balance current balance in the reserve - * @param history_length number of entries in the transaction history - * @param history detailed transaction history + * @param[in] json original response in JSON format (useful only for diagnostics) + * @param balance current balance in the reserve, NULL on error + * @param history_length number of entries in the transaction history, 0 on error + * @param history detailed transaction history, NULL on error */ typedef void (*TALER_MINT_WithdrawStatusResultCallback) (void *cls, unsigned int http_status, + json_t *json, const struct TALER_Amount *balance, unsigned int history_length, const struct TALER_MINT_ReserveHistory *history); |