aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_trigger_aml_process.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-30 13:45:36 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-30 13:45:36 +0100
commitb7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 (patch)
tree50006273f188424fa93403c9866377961fd47619 /src/exchangedb/pg_trigger_aml_process.h
parent5169abcdcd2710d002721ff0d1c6fcc53b8dab54 (diff)
downloadexchange-b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7.tar.xz
-add prototypes
Diffstat (limited to 'src/exchangedb/pg_trigger_aml_process.h')
-rw-r--r--src/exchangedb/pg_trigger_aml_process.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exchangedb/pg_trigger_aml_process.h b/src/exchangedb/pg_trigger_aml_process.h
index 45bc0496b..2283571af 100644
--- a/src/exchangedb/pg_trigger_aml_process.h
+++ b/src/exchangedb/pg_trigger_aml_process.h
@@ -26,4 +26,20 @@
#include "taler_exchangedb_plugin.h"
+/**
+ * Trigger AML process, an account has crossed the threshold. Inserts or
+ * updates the AML status.
+ *
+ * @param cls closure
+ * @param h_payto account for which the attribute data is stored
+ * @param threshold_crossed existing threshold that was crossed
+ * @return database transaction status
+ */
+enum GNUNET_DB_QueryStatus
+TEH_PG_trigger_aml_process (
+ void *cls,
+ const struct TALER_PaytoHashP *h_payto,
+ const struct TALER_Amount *threshold_crossed);
+
+
#endif