From 87a78c6f8ce1d50a5f61eb5c3f222cdef0b635ee Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 16 Feb 2023 16:37:38 +0100 Subject: add code to sanity-check KYC configuration and KYC decisions --- src/include/taler_kyclogic_lib.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_kyclogic_lib.h b/src/include/taler_kyclogic_lib.h index a629543a0..065f25618 100644 --- a/src/include/taler_kyclogic_lib.h +++ b/src/include/taler_kyclogic_lib.h @@ -296,6 +296,20 @@ TALER_KYCLOGIC_kyc_get_details ( void *cb_cls); +/** + * Check if a given @a check_name is a legal name (properly + * configured) and can be satisfied in principle. + * + * @param logic_name name of the logic to match + * @return #GNUNET_OK if the check can be satisfied, + * #GNUNET_NO if the check can never be satisfied, + * #GNUNET_SYSERR if the type of the check is unknown + */ +enum GNUNET_GenericReturnValue +TALER_KYCLOGIC_check_satisfiable ( + const char *check_name); + + /** * Obtain the provider logic for a given set of @a requirements. * -- cgit v1.2.3