From 9942032ae9f48cc08dcfc57382d2bd4226b898b3 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 18 Jul 2018 11:26:11 +0200 Subject: Add "general_id" for merchants into the DB system. --- src/include/taler_exchangedb_plugin.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 60d1221aa..2b2d43074 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -717,6 +717,7 @@ typedef int * * @param cls closure * @param payto_url payto URL of this particular merchant (bank account) + * @param general_id general identificator valid at the KYC-caring institution * @param kyc_checked status of KYC check: if GNUNET_OK, the merchant was * checked at least once, never otherwise. * @param merchant_serial_id serial ID identifying this merchant (bank @@ -726,6 +727,7 @@ typedef int typedef void (*TALER_EXCHANGEDB_KycStatusCallback)(void *cls, const char *payto_url, + const char *general_id, uint8_t kyc_checked, uint64_t merchant_serial_id); @@ -2246,6 +2248,8 @@ struct TALER_EXCHANGEDB_Plugin * * @param cls closure * @param session db session + * @param general_id identificator at the KYC-aware institution, + * can be NULL if this is in-line wiht the rules. * @param payto_url payto:// URL indentifying the merchant * bank account. * @return database transaction status. @@ -2253,6 +2257,7 @@ struct TALER_EXCHANGEDB_Plugin enum GNUNET_DB_QueryStatus (*insert_kyc_merchant)(void *cls, struct TALER_EXCHANGEDB_Session *session, + const char *general_id, const char *payto_url); /** -- cgit v1.2.3