From a2dde02b64a8ee75c9243632eb45a6ceb9b62dd5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 7 Jun 2023 23:11:05 +0200 Subject: major libtalertesting API refactoring, including no longer having taler-specific logic in the test engine core --- src/include/taler_exchange_service.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/include/taler_exchange_service.h') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index c6c1d3a1..3e0206eb 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -623,15 +623,20 @@ enum TALER_EXCHANGE_CheckKeysFlags /** * Check if our current response for /keys is valid, and if - * not, trigger /keys download. + * not, trigger /keys download. If @a cb is given, changes + * the @a exchange callback for the /keys response. * * @param exchange exchange to check keys for * @param flags options controlling when to download what + * @param cb function to call with the /keys response, can be NULL + * @param cb_cls closure for @a cb * @return until when the existing response is current, 0 if we are re-downloading now */ struct GNUNET_TIME_Timestamp TALER_EXCHANGE_check_keys_current (struct TALER_EXCHANGE_Handle *exchange, - enum TALER_EXCHANGE_CheckKeysFlags flags); + enum TALER_EXCHANGE_CheckKeysFlags flags, + TALER_EXCHANGE_CertificationCallback cb, + void *cb_cls); /** -- cgit v1.2.3