aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-19 21:02:04 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-19 21:02:10 +0200
commit778a402d07706462818e9c9d01520fd3d8d238d8 (patch)
tree18ffbbb763cbeaf05de595e461317d2387ae60ec /src/include
parentfa30a132a53196eec1ac731e332a075ba8b93991 (diff)
-implement more of the KYC handlers
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_curl_lib.h2
-rw-r--r--src/include/taler_exchangedb_plugin.h14
2 files changed, 15 insertions, 1 deletions
diff --git a/src/include/taler_curl_lib.h b/src/include/taler_curl_lib.h
index 42d7f9d1f..5151f4cf6 100644
--- a/src/include/taler_curl_lib.h
+++ b/src/include/taler_curl_lib.h
@@ -59,7 +59,7 @@ struct TALER_CURL_PostContext
* @param body JSON body to add to @e ctx
* @return #GNUNET_OK on success #GNUNET_SYSERR on failure
*/
-int
+enum GNUNET_GenericReturnValue
TALER_curl_easy_post (struct TALER_CURL_PostContext *ctx,
CURL *eh,
const json_t *body);
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index b8c504063..5a3313ca7 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2361,6 +2361,20 @@ struct TALER_EXCHANGEDB_Plugin
/**
+ * Set the KYC status to "OK" for a bank account.
+ *
+ * @param cls the @e cls of this struct with the plugin-specific state
+ * @param payment_target_uuid which account has been checked
+ * @param ... possibly additional data to persist (TODO)
+ * @return transaction status
+ */
+ enum GNUNET_DB_QueryStatus
+ (*set_kyc_ok)(void *cls,
+ uint64_t payment_target_uuid,
+ ...);
+
+
+ /**
* Get the KYC status for a bank account.
*
* @param cls the @e cls of this struct with the plugin-specific state