summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_kyc-proof.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-17 15:58:23 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-17 15:58:23 +0200
commitb38b51d5e8b71f2fcf30dc6aaef82c1fbcede5f8 (patch)
treef1b8938c3c61c7313ab80ff2e7026cfadf7d90cd /src/exchange/taler-exchange-httpd_kyc-proof.h
parentc6c9db0c8e3768b44b8ec41a8ef173fbd2985c5b (diff)
downloadexchange-b38b51d5e8b71f2fcf30dc6aaef82c1fbcede5f8.tar.gz
exchange-b38b51d5e8b71f2fcf30dc6aaef82c1fbcede5f8.tar.bz2
exchange-b38b51d5e8b71f2fcf30dc6aaef82c1fbcede5f8.zip
implement /kyc-check, add skeleton for /kyc-proof
Diffstat (limited to 'src/exchange/taler-exchange-httpd_kyc-proof.h')
-rw-r--r--src/exchange/taler-exchange-httpd_kyc-proof.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.h b/src/exchange/taler-exchange-httpd_kyc-proof.h
new file mode 100644
index 000000000..1958a0043
--- /dev/null
+++ b/src/exchange/taler-exchange-httpd_kyc-proof.h
@@ -0,0 +1,40 @@
+/*
+ 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-proof.h
+ * @brief Handle /kyc-proof requests
+ * @author Christian Grothoff
+ */
+#ifndef TALER_EXCHANGE_HTTPD_KYC_PROOF_H
+#define TALER_EXCHANGE_HTTPD_KYC_PROOF_H
+
+#include <microhttpd.h>
+#include "taler-exchange-httpd.h"
+
+
+/**
+ * Handle a "/kyc-proof" request.
+ *
+ * @param connection request to handle
+ * @return MHD result code
+ */
+MHD_RESULT
+TEH_handler_kyc_proof (
+ struct MHD_Connection *connection,
+ ...);
+
+
+#endif