From b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Dec 2022 13:45:36 +0100 Subject: -add prototypes --- src/exchangedb/pg_select_kyc_attributes.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/exchangedb/pg_select_kyc_attributes.h') diff --git a/src/exchangedb/pg_select_kyc_attributes.h b/src/exchangedb/pg_select_kyc_attributes.h index 09f297bf..7458aefe 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 -- cgit v1.2.3