diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
commit | b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 (patch) | |
tree | 50006273f188424fa93403c9866377961fd47619 /src/exchangedb/pg_insert_aml_officer.h | |
parent | 5169abcdcd2710d002721ff0d1c6fcc53b8dab54 (diff) | |
download | exchange-b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7.tar.xz |
-add prototypes
Diffstat (limited to 'src/exchangedb/pg_insert_aml_officer.h')
-rw-r--r-- | src/exchangedb/pg_insert_aml_officer.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/exchangedb/pg_insert_aml_officer.h b/src/exchangedb/pg_insert_aml_officer.h index 62a442ac9..be034d9ff 100644 --- a/src/exchangedb/pg_insert_aml_officer.h +++ b/src/exchangedb/pg_insert_aml_officer.h @@ -26,4 +26,26 @@ #include "taler_exchangedb_plugin.h" +/** + * Insert AML staff record. + * + * @param cls closure + * @param decider_pub public key of the staff member + * @param master_sig offline signature affirming the AML officer + * @param decider_name full name of the staff member + * @param is_active true to enable, false to set as inactive + * @param read_only true to set read-only access + * @param last_change when was the change made effective + * @return database transaction status + */ +enum GNUNET_DB_QueryStatus +TEH_PG_insert_aml_officer ( + void *cls, + const struct TALER_AmlOfficerPublicKeyP *decider_pub, + const struct TALER_MasterSignatureP *master_sig, + const char *decider_name, + bool is_active, + bool read_only, + struct GNUNET_TIME_Absolute last_change); + #endif |