diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-09-13 14:08:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-09-13 14:08:11 +0200 |
commit | b46735fbafdea562a0d56e7ea1ce844faadcc192 (patch) | |
tree | 248233c6f0f1c208ec942a330c0d4de87670fbae /src/include/taler_exchange_service.h | |
parent | e33d72683c9ea445fdca81f3d33c948b650f482f (diff) |
add argument to TALER_EXCHANGE_check_keys_current() to allow forcing the download
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r-- | src/include/taler_exchange_service.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index d7056b574..814078a02 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -367,10 +367,12 @@ TALER_EXCHANGE_get_keys (struct TALER_EXCHANGE_Handle *exchange); * not, trigger /keys download. * * @param exchange exchange to check keys for + * @param force_download #GNUNET_YES to force download even if /keys is still valid * @return until when the response is current, 0 if we are re-downloading */ struct GNUNET_TIME_Absolute -TALER_EXCHANGE_check_keys_current (struct TALER_EXCHANGE_Handle *exchange); +TALER_EXCHANGE_check_keys_current (struct TALER_EXCHANGE_Handle *exchange, + int force_download); /** |