diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-02 14:55:56 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-02 14:55:56 +0100 |
commit | 3898054b1070db0c6be0fa9f6772637069aa34e2 (patch) | |
tree | cbe917775e0a44ef4e3140d9d605194f20136c39 /src/include | |
parent | eab95d015412833c96568fb91d25aa23c53c45cd (diff) |
more work on KYC/AML decision inspection
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 4 | ||||
-rw-r--r-- | src/include/taler_exchange_service.h | 8 |
2 files changed, 4 insertions, 8 deletions
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); |