From 73b099cfd5edb3ae8a6e440ddf53d96fb9288558 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 5 Aug 2022 14:22:08 +0200 Subject: -add new KYC amount iteration DB functions --- src/exchange/taler-exchange-httpd_kyc.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_kyc.h') diff --git a/src/exchange/taler-exchange-httpd_kyc.h b/src/exchange/taler-exchange-httpd_kyc.h index cc76f5a43..ea409c750 100644 --- a/src/exchange/taler-exchange-httpd_kyc.h +++ b/src/exchange/taler-exchange-httpd_kyc.h @@ -138,24 +138,6 @@ void TEH_kyc_done (void); -/** - * Function called on each @a amount that was found to - * be relevant for a KYC check. - * - * @param cls closure to allow the KYC module to - * total up amounts and evaluate rules - * @param amount encountered transaction amount - * @param date when was the amount encountered - * @return #GNUNET_OK to continue to iterate, - * #GNUNET_NO to abort iteration - * #GNUNET_SYSERR on internal error (also abort itaration) - */ -typedef enum GNUNET_GenericReturnValue -(*TEH_KycAmountCallback)(void *cls, - const struct TALER_Amount *amount, - struct GNUNET_TIME_Absolute date); - - /** * Function called to iterate over KYC-relevant * transaction amounts for a particular time range. @@ -174,7 +156,7 @@ typedef enum GNUNET_GenericReturnValue typedef void (*TEH_KycAmountIterator)(void *cls, struct GNUNET_TIME_Absolute limit, - TEH_KycAmountCallback cb, + TALER_EXCHANGEDB_KycAmountCallback cb, void *cb_cls); -- cgit v1.2.3