diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 16:15:18 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-28 16:15:18 +0100 |
commit | ed8dfac6db0cff37b69876e70da5b0341b50926f (patch) | |
tree | e0ff8aadcd20d09905d0b16e1f76d833dd62e272 /src/include/taler_testing_lib.h | |
parent | 6b7ad9c50d5e6b5b7ffc88435d13625afd965f86 (diff) | |
download | exchange-ed8dfac6db0cff37b69876e70da5b0341b50926f.tar.xz |
helpers return exchange base url from config.
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
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); /** |