From 3898054b1070db0c6be0fa9f6772637069aa34e2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 2 Feb 2023 14:55:56 +0100 Subject: more work on KYC/AML decision inspection --- src/include/taler_crypto_lib.h | 4 ++-- src/include/taler_exchange_service.h | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 484f0f225..5f6274919 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -549,7 +549,7 @@ struct TALER_AmlOfficerSignatureP /** - * Bitmask with possible AML decision states. + * Possible AML decision states. */ enum TALER_AmlDecisionState { @@ -557,7 +557,7 @@ enum TALER_AmlDecisionState /** * All AML requirements are currently satisfied. */ - TALER_AML_NONE = 0, + TALER_AML_NORMAL = 0, /** * An AML investigation is pending. diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index c6391647e..277e658e9 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4384,9 +4384,7 @@ struct TALER_EXCHANGE_LookupAmlDecisions; * @param exchange_url HTTP base URL for the exchange * @param start row number starting point (exclusive rowid) * @param delta number of records to return, negative for descending, positive for ascending from start - * @param filter_frozen true to only return frozen accounts - * @param filter_pending true to only return accounts with pending decisions - * @param filter_normal true to only return accounts where transactions are allowed + * @param state type of AML decisions to return * @param officer_priv private key of the deciding AML officer * @param cb function to call with the exchange's result * @param cb_cls closure for @a cb @@ -4398,9 +4396,7 @@ TALER_EXCHANGE_lookup_aml_decisions ( const char *exchange_url, uint64_t start, int delta, - bool filter_frozen, - bool filter_pending, - bool filter_normal, + enum TALER_AmlDecisionState state, const struct TALER_AmlOfficerPrivateKeyP *officer_priv, TALER_EXCHANGE_LookupAmlDecisionsCallback cb, void *cb_cls); -- cgit v1.2.3