From ed8dfac6db0cff37b69876e70da5b0341b50926f Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 28 Feb 2018 16:15:18 +0100 Subject: helpers return exchange base url from config. --- src/include/taler_testing_lib.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index d06105dd1..3914208f1 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -99,11 +99,15 @@ TALER_TESTING_find_pk (const struct TALER_EXCHANGE_Keys *keys, * launch the exchange process itself. * * @param config_filename configuration file to use + * @param base_url[out] will be set to the exchange base url, + * if the config has any; otherwise it will be set to + * NULL. * @return #GNUNET_OK on success, #GNUNET_NO if test should be * skipped, #GNUNET_SYSERR on test failure */ int -TALER_TESTING_prepare_exchange (const char *config_filename); +TALER_TESTING_prepare_exchange (const char *config_filename, + char **base_url); /** -- cgit v1.2.3