summaryrefslogtreecommitdiff
path: root/src/include/taler_mint_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-23 19:41:51 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-23 19:41:51 +0200
commitca01072fdd9bb5d154336d468d19b86224f5b644 (patch)
treec5ceab63183d6460e82dc14ec62a8c17f0d9e0cb /src/include/taler_mint_service.h
parent6108acb92327c90cbbee8c3a60a92b3a3a05d881 (diff)
downloadexchange-ca01072fdd9bb5d154336d468d19b86224f5b644.tar.gz
exchange-ca01072fdd9bb5d154336d468d19b86224f5b644.tar.bz2
exchange-ca01072fdd9bb5d154336d468d19b86224f5b644.zip
work on withdraw history parser refactoring, towards finishing the implementation
Diffstat (limited to 'src/include/taler_mint_service.h')
-rw-r--r--src/include/taler_mint_service.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h
index a243da54..0e79a5f7 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);