summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-27 14:10:27 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-27 14:10:40 +0100
commitc239ba6f18ee7d62b249c7204dbe50dab37912b8 (patch)
tree27ccb16a15da81900d5a622417b95c5c172d9dc6 /src/include
parent7e8e2f43178139b35f726dd0584ef629e1853af8 (diff)
downloadexchange-c239ba6f18ee7d62b249c7204dbe50dab37912b8.tar.gz
exchange-c239ba6f18ee7d62b249c7204dbe50dab37912b8.tar.bz2
exchange-c239ba6f18ee7d62b249c7204dbe50dab37912b8.zip
address DB failure error handling in KYC check
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_kyclogic_lib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/taler_kyclogic_lib.h b/src/include/taler_kyclogic_lib.h
index 60a7c23d2..3acc78df2 100644
--- a/src/include/taler_kyclogic_lib.h
+++ b/src/include/taler_kyclogic_lib.h
@@ -214,16 +214,18 @@ typedef enum GNUNET_DB_QueryStatus
* amounts involved in this type of operation
* at the given account
* @param ai_cls closure for @a ai
- * @return NULL if no check is needed,
+ * @param[out] set to NULL if no check is needed,
* otherwise space-separated list of required checks
+ * @return transaction status
*/
-const char *
+enum GNUNET_DB_QueryStatus
TALER_KYCLOGIC_kyc_test_required (enum TALER_KYCLOGIC_KycTriggerEvent event,
const struct TALER_PaytoHashP *h_payto,
TALER_KYCLOGIC_KycSatisfiedIterator ki,
void *ki_cls,
TALER_KYCLOGIC_KycAmountIterator ai,
- void *ai_cls);
+ void *ai_cls,
+ const char **required);
/**