From 3ffd605041079dbabf21cf33863cccadfac23445 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Dec 2020 21:39:45 +0100 Subject: fix FTBFS issues in new /keys logic --- src/exchange/taler-exchange-httpd_keys.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_keys.h') diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h index dcb7a31df..614851482 100644 --- a/src/exchange/taler-exchange-httpd_keys.h +++ b/src/exchange/taler-exchange-httpd_keys.h @@ -167,7 +167,7 @@ enum TALER_ErrorCode TEH_keys_exchange_sign_ (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose, struct TALER_ExchangePublicKeyP *pub, - struct TALER_ExchangeSignatureP *sig) + struct TALER_ExchangeSignatureP *sig); /** @@ -245,7 +245,7 @@ TEH_keys_management_get_handler (const struct TEH_RequestHandler *rh, /** * Load fees and expiration times (!) for the denomination type configured * in section @a section_name. Before calling this function, the - * `start` time must already be initialized in @a meta. + * `start` and `validity_duration` times must already be initialized in @a meta. * * @param section_name section in the configuration to use * @param[in,out] meta denomination type data to complete @@ -256,4 +256,19 @@ TEH_keys_load_fees (const char *section_name, struct TALER_EXCHANGEDB_DenominationKeyMetaData *meta); +/** + * Initialize keys submodule. + * + * @return #GNUNET_OK on success + */ +int +TEH_keys_init (void); + +/** + * Close down keys submodule. + */ +void +TEH_keys_done (void); + + #endif -- cgit v1.2.3