diff options
Diffstat (limited to 'src/exchangedb/pg_lookup_aml_officer.h')
-rw-r--r-- | src/exchangedb/pg_lookup_aml_officer.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 |