diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-06-24 10:56:15 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-06-24 10:56:15 +0200 |
commit | b77bb5caa0c2f53bc4c1354c45d66fbc7beeac4a (patch) | |
tree | 320ea536641b5183d1c14935b6bfc2abecae81fd /src/include/taler_mint_service.h | |
parent | e2ab079dd8a2e72c4c2b41ac9bf4b0da10c2ac1f (diff) | |
parent | 28a10c22a6a3d3883ad04cef5504905b3381c06f (diff) | |
download | exchange-b77bb5caa0c2f53bc4c1354c45d66fbc7beeac4a.tar.gz exchange-b77bb5caa0c2f53bc4c1354c45d66fbc7beeac4a.tar.bz2 exchange-b77bb5caa0c2f53bc4c1354c45d66fbc7beeac4a.zip |
Merge branch 'master' of taler.net:/var/git/mint
Diffstat (limited to 'src/include/taler_mint_service.h')
-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); |