aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_select_aml_history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/pg_select_aml_history.h')
-rw-r--r--src/exchangedb/pg_select_aml_history.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/exchangedb/pg_select_aml_history.h b/src/exchangedb/pg_select_aml_history.h
index db117bb0a..78569947f 100644
--- a/src/exchangedb/pg_select_aml_history.h
+++ b/src/exchangedb/pg_select_aml_history.h
@@ -26,4 +26,21 @@
#include "taler_exchangedb_plugin.h"
+/**
+ * Lookup AML decision history for a particular account.
+ *
+ * @param cls closure
+ * @param h_payto which account should we return the AML decision history for
+ * @param cb callback to invoke on each match
+ * @param cb_cls closure for @a cb
+ * @return database transaction status
+ */
+enum GNUNET_DB_QueryStatus
+TEH_PG_select_aml_history (
+ void *cls,
+ const struct TALER_PaytoHashP *h_payto,
+ TALER_EXCHANGEDB_AmlHistoryCallback cb,
+ void *cb_cls);
+
+
#endif