diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.h | 19 |
1 files changed, 17 insertions, 2 deletions
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 |