aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-17 14:12:13 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-17 14:12:13 +0200
commit4e3b133e47e2549682209feca61590f7e8fcd0ac (patch)
tree4c6c69d36306f71d2430c70b1bc7d3e59511912b /src/include
parent932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd (diff)
downloadexchange-4e3b133e47e2549682209feca61590f7e8fcd0ac.tar.xz
-incomplete draft for /kyc-wallet handler
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h16
-rw-r--r--src/include/taler_signatures.h2
2 files changed, 17 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 286162fbc..4b90396bb 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2368,6 +2368,22 @@ struct TALER_EXCHANGEDB_Plugin
/**
+ * Get the KYC status for a wallet. If the status is unknown,
+ * inserts a new status record (hence INsertSELECT).
+ *
+ * @param cls the @e cls of this struct with the plugin-specific state
+ * @param reserve_pub public key of the wallet
+ * @param[out] kyc set to the KYC status of the wallet
+ * @return transaction status
+ */
+ enum GNUNET_DB_QueryStatus
+ (*inselect_wallet_kyc_status)(
+ void *cls,
+ const struct TALER_ReservePublicKeyP *reserve_pub,
+ struct TALER_EXCHANGEDB_KycStatus *kyc);
+
+
+ /**
* Insert a incoming transaction into reserves. New reserves are
* also created through this function.
*
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 55b30669f..17150df68 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2020 Taler Systems SA
+ Copyright (C) 2014-2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software