aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_update_aml_officer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/pg_update_aml_officer.h')
-rw-r--r--src/exchangedb/pg_update_aml_officer.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/exchangedb/pg_update_aml_officer.h b/src/exchangedb/pg_update_aml_officer.h
index 9e53dd506..8e3592395 100644
--- a/src/exchangedb/pg_update_aml_officer.h
+++ b/src/exchangedb/pg_update_aml_officer.h
@@ -26,4 +26,26 @@
#include "taler_exchangedb_plugin.h"
+/**
+ * Update 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_update_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