diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-07 21:39:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-07 21:39:45 +0100 |
commit | 3ffd605041079dbabf21cf33863cccadfac23445 (patch) | |
tree | 63c3a534fec1ed998129d81ce93941155b97ddf6 /src/exchange/taler-exchange-httpd_keys.h | |
parent | f256dab738b407cbd40bc0cc754f5d7f5ef6497d (diff) | |
download | exchange-3ffd605041079dbabf21cf33863cccadfac23445.tar.gz exchange-3ffd605041079dbabf21cf33863cccadfac23445.tar.bz2 exchange-3ffd605041079dbabf21cf33863cccadfac23445.zip |
fix FTBFS issues in new /keys logic
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 |