diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-16 16:37:38 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-16 16:38:20 +0100 |
commit | 87a78c6f8ce1d50a5f61eb5c3f222cdef0b635ee (patch) | |
tree | e2221ddcabd2d49bcb7fc9a4f1bbfb094700ced6 /src/include/taler_kyclogic_lib.h | |
parent | 4d2d0473c3d592d4d6c52ef818a1189afdb5d59d (diff) | |
download | exchange-87a78c6f8ce1d50a5f61eb5c3f222cdef0b635ee.tar.xz |
add code to sanity-check KYC configuration and KYC decisions
Diffstat (limited to 'src/include/taler_kyclogic_lib.h')
-rw-r--r-- | src/include/taler_kyclogic_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ -297,6 +297,20 @@ TALER_KYCLOGIC_kyc_get_details ( /** + * 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. * * @param requirements space-separated list of required checks |