From b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Dec 2022 13:45:36 +0100 Subject: -add prototypes --- src/exchangedb/pg_lookup_aml_officer.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/exchangedb/pg_lookup_aml_officer.h') diff --git a/src/exchangedb/pg_lookup_aml_officer.h b/src/exchangedb/pg_lookup_aml_officer.h index 5819ef4b8..161d2e7e7 100644 --- a/src/exchangedb/pg_lookup_aml_officer.h +++ b/src/exchangedb/pg_lookup_aml_officer.h @@ -26,4 +26,26 @@ #include "taler_exchangedb_plugin.h" +/** + * Fetch AML staff record. + * + * @param cls closure + * @param decider_pub public key of the staff member + * @param[out] master_sig offline signature affirming the AML officer + * @param[out] decider_name full name of the staff member + * @param[out] is_active true to enable, false to set as inactive + * @param[out] read_only true to set read-only access + * @param[out] last_change when was the change made effective + * @return database transaction status + */ +enum GNUNET_DB_QueryStatus +TEH_PG_lookup_aml_officer ( + void *cls, + const struct TALER_AmlOfficerPublicKeyP *decider_pub, + struct TALER_MasterSignatureP *master_sig, + char **decider_name, + bool *is_active, + bool *read_only, + struct GNUNET_TIME_Absolute *last_change); + #endif -- cgit v1.2.3