exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 686809abbdfcd7dcb8171044387b0c536caa043e
parent ebd079c9ee94cbe201e133212946bf05dcbae292
Author: Florian Dold <florian@dold.me>
Date:   Mon, 21 Oct 2024 15:32:43 +0200

-cleanup

Diffstat:
Msrc/exchange/taler-exchange-httpd.c | 4+++-
Msrc/exchange/taler-exchange-httpd_aml-decision.h | 5+++++
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c @@ -53,6 +53,7 @@ #include "taler-exchange-httpd_kyc-upload.h" #include "taler-exchange-httpd_kyc-wallet.h" #include "taler-exchange-httpd_kyc-webhook.h" +#include "taler-exchange-httpd_aml-decision.h" #include "taler-exchange-httpd_link.h" #include "taler-exchange-httpd_management.h" #include "taler-exchange-httpd_melt.h" @@ -96,7 +97,7 @@ * Above what request latency do we start to log? */ #define WARN_LATENCY GNUNET_TIME_relative_multiply ( \ - GNUNET_TIME_UNIT_MILLISECONDS, 500) + GNUNET_TIME_UNIT_MILLISECONDS, 500) /** * Are clients allowed to request /keys for times other than the @@ -2657,6 +2658,7 @@ do_shutdown (void *cls) TEH_kyc_info_cleanup (); TEH_kyc_proof_cleanup (); TEH_kyc_start_cleanup (); + TEH_aml_decision_cleanup (); TALER_KYCLOGIC_kyc_done (); if (NULL != my_mhd) { diff --git a/src/exchange/taler-exchange-httpd_aml-decision.h b/src/exchange/taler-exchange-httpd_aml-decision.h @@ -58,5 +58,10 @@ TEH_handler_aml_decisions_get ( const struct TALER_AmlOfficerPublicKeyP *officer_pub, const char *const args[]); +/** + * Clean up running POST /aml/$OFFICER_PUB/decisions requests. + */ +void +TEH_aml_decision_cleanup (); #endif