summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-28 16:15:18 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-28 16:15:18 +0100
commited8dfac6db0cff37b69876e70da5b0341b50926f (patch)
treee0ff8aadcd20d09905d0b16e1f76d833dd62e272 /src/include
parent6b7ad9c50d5e6b5b7ffc88435d13625afd965f86 (diff)
downloadexchange-ed8dfac6db0cff37b69876e70da5b0341b50926f.tar.gz
exchange-ed8dfac6db0cff37b69876e70da5b0341b50926f.tar.bz2
exchange-ed8dfac6db0cff37b69876e70da5b0341b50926f.zip
helpers return exchange base url from config.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h6
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);
/**