path: root/src/include/taler_exchange_service.h
diff options
authorChristian Grothoff <>2021-04-24 19:54:47 +0200
committerChristian Grothoff <>2021-04-24 19:54:47 +0200
commit20c70845c038c4a1caa5d136aac452759d09209b (patch)
tree0dea4fa37dd35e1af29b8c8aef6e9fd20de0d070 /src/include/taler_exchange_service.h
parent23f49379bb1423472564c8f1a13869b5c4044510 (diff)
return more precise error codes from TALER_EXCHANGE_deposit() if failures are detected client-side (#6817)
Diffstat (limited to 'src/include/taler_exchange_service.h')
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index df0a6938..a344771c 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -842,6 +842,7 @@ typedef void
* @param coin_sig the signature made with purpose #TALER_SIGNATURE_WALLET_COIN_DEPOSIT made by the customer with the coin’s private key.
* @param cb the callback to call when a reply for this request is available
* @param cb_cls closure for the above callback
+ * @param[out] ec if NULL is returned, set to the error code explaining why the operation failed
* @return a handle for this request; NULL if the inputs are invalid (i.e.
* signatures fail to verify). In this case, the callback is not called.
@@ -859,7 +860,8 @@ TALER_EXCHANGE_deposit (struct TALER_EXCHANGE_Handle *exchange,
struct GNUNET_TIME_Absolute refund_deadline,
const struct TALER_CoinSpendSignatureP *coin_sig,
TALER_EXCHANGE_DepositResultCallback cb,
- void *cb_cls);
+ void *cb_cls,
+ enum TALER_ErrorCode *ec);