aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_select_kyc_attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/pg_select_kyc_attributes.h')
-rw-r--r--src/exchangedb/pg_select_kyc_attributes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exchangedb/pg_select_kyc_attributes.h b/src/exchangedb/pg_select_kyc_attributes.h
index 09f297bf3..7458aefe8 100644
--- a/src/exchangedb/pg_select_kyc_attributes.h
+++ b/src/exchangedb/pg_select_kyc_attributes.h
@@ -26,4 +26,20 @@
#include "taler_exchangedb_plugin.h"
+/**
+ * Lookup KYC attribute data for a specific account.
+ *
+ * @param cls closure
+ * @param h_payto account for which the attribute data is stored
+ * @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_kyc_attributes (
+ void *cls,
+ const struct TALER_PaytoHashP *h_payto,
+ TALER_EXCHANGEDB_AttributeCallback cb,
+ void *cb_cls);
+
#endif