summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-18 11:26:11 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-18 11:29:30 +0200
commit9942032ae9f48cc08dcfc57382d2bd4226b898b3 (patch)
tree9b16e6cff55532933fbd447138f8c13a67cd2db5 /src/include/taler_exchangedb_plugin.h
parent1e09a0660e6e78d6e6ad247ad9c6294e53c47627 (diff)
downloadexchange-9942032ae9f48cc08dcfc57382d2bd4226b898b3.tar.gz
exchange-9942032ae9f48cc08dcfc57382d2bd4226b898b3.tar.bz2
exchange-9942032ae9f48cc08dcfc57382d2bd4226b898b3.zip
Add "general_id" for merchants into the DB system.
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h5
1 files changed, 5 insertions, 0 deletions
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);
/**