summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_kyc.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-08-05 14:22:08 +0200
committerChristian Grothoff <christian@grothoff.org>2022-08-05 14:22:08 +0200
commit73b099cfd5edb3ae8a6e440ddf53d96fb9288558 (patch)
tree52a4e52c59384fbad5c23ccae71862c7255dfe3c /src/exchange/taler-exchange-httpd_kyc.h
parent4724867794c30ab2d61a2f78ad3f8ad919664519 (diff)
downloadexchange-73b099cfd5edb3ae8a6e440ddf53d96fb9288558.tar.gz
exchange-73b099cfd5edb3ae8a6e440ddf53d96fb9288558.tar.bz2
exchange-73b099cfd5edb3ae8a6e440ddf53d96fb9288558.zip
-add new KYC amount iteration DB functions
Diffstat (limited to 'src/exchange/taler-exchange-httpd_kyc.h')
-rw-r--r--src/exchange/taler-exchange-httpd_kyc.h20
1 files changed, 1 insertions, 19 deletions
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
@@ -139,24 +139,6 @@ 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.
* Called within a database transaction, so must
@@ -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);