[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 73/124: init kyc-info subsystem
From: |
gnunet |
Subject: |
[taler-exchange] 73/124: init kyc-info subsystem |
Date: |
Tue, 17 Sep 2024 21:28:05 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag cg-aml-branch-compiles
in repository exchange.
commit 67988936155e5c4ebb7ca8337aba04a9523160c4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jul 7 10:27:43 2024 +0200
init kyc-info subsystem
---
src/exchange/taler-exchange-httpd.c | 2 ++
src/exchange/taler-exchange-httpd_kyc-info.h | 49 ++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
diff --git a/src/exchange/taler-exchange-httpd.c
b/src/exchange/taler-exchange-httpd.c
index c90af46be..0e628d12c 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -47,6 +47,7 @@
#include "taler-exchange-httpd_extensions.h"
#include "taler-exchange-httpd_keys.h"
#include "taler-exchange-httpd_kyc-check.h"
+#include "taler-exchange-httpd_kyc-info.h"
#include "taler-exchange-httpd_kyc-proof.h"
#include "taler-exchange-httpd_kyc-upload.h"
#include "taler-exchange-httpd_kyc-wallet.h"
@@ -2600,6 +2601,7 @@ do_shutdown (void *cls)
TEH_reserves_get_cleanup ();
TEH_purses_get_cleanup ();
TEH_kyc_check_cleanup ();
+ TEH_kyc_info_cleanup ();
TEH_kyc_proof_cleanup ();
TALER_KYCLOGIC_kyc_done ();
if (NULL != mhd)
diff --git a/src/exchange/taler-exchange-httpd_kyc-info.h
b/src/exchange/taler-exchange-httpd_kyc-info.h
new file mode 100644
index 000000000..bd6b57325
--- /dev/null
+++ b/src/exchange/taler-exchange-httpd_kyc-info.h
@@ -0,0 +1,49 @@
+/*
+ This file is part of TALER
+ Copyright (C) 2021 Taler Systems SA
+
+ TALER is free software; you can redistribute it and/or modify it under the
+ terms of the GNU Affero General Public License as published by the Free
Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.
+
+ You should have received a copy of the GNU Affero General Public License
along with
+ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+*/
+/**
+ * @file taler-exchange-httpd_kyc-info.h
+ * @brief Handle /kyc-info requests
+ * @author Christian Grothoff
+ */
+#ifndef TALER_EXCHANGE_HTTPD_KYC_INFO_H
+#define TALER_EXCHANGE_HTTPD_KYC_INFO_H
+
+#include <microhttpd.h>
+#include "taler-exchange-httpd.h"
+
+
+/**
+ * Shutdown kyc-info subsystem. Resumes all suspended long-polling clients
+ * and cleans up data structures.
+ */
+void
+TEH_kyc_info_cleanup (void);
+
+
+/**
+ * Handle a "/kyc-info" request.
+ *
+ * @param rc request to handle
+ * @param args one argument with the legitimization_uuid
+ * @return MHD result code
+ */
+MHD_RESULT
+TEH_handler_kyc_info (
+ struct TEH_RequestContext *rc,
+ const char *const args[1]);
+
+
+#endif
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] 100/124: more parsing, config template, (continued)
- [taler-exchange] 100/124: more parsing, config template, gnunet, 2024/09/17
- [taler-exchange] 110/124: add new CMDs for KYC info+start, gnunet, 2024/09/17
- [taler-exchange] 111/124: -fix bugs, gnunet, 2024/09/17
- [taler-exchange] 114/124: fix FTBFS, gnunet, 2024/09/17
- [taler-exchange] 101/124: add some first KYC commands for testing, gnunet, 2024/09/17
- [taler-exchange] 121/124: first test passes, party, gnunet, 2024/09/17
- [taler-exchange] 68/124: add kyc-upload logic to demultiplexer, gnunet, 2024/09/17
- [taler-exchange] 58/124: -more work on add decision, gnunet, 2024/09/17
- [taler-exchange] 52/124: drop functions after use, gnunet, 2024/09/17
- [taler-exchange] 103/124: add logic to parse new_check field, gnunet, 2024/09/17
- [taler-exchange] 73/124: init kyc-info subsystem,
gnunet <=
- [taler-exchange] 108/124: do not pass timeout in test, gnunet, 2024/09/17
- [taler-exchange] 98/124: add logic to parse measures from configuration, gnunet, 2024/09/17
- [taler-exchange] 113/124: wip, gnunet, 2024/09/17
- [taler-exchange] 107/124: -fix small bugs, gnunet, 2024/09/17