summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-06 18:13:10 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-06 18:14:09 +0100
commit81d1b39343d98f7f5e8bdc501d79a31d418a365c (patch)
tree58a0c6f4f488ff5c142f47c1dc049a317d7cfade /src/include
parent7cab50b46547d917778aaeb425be38a6993831ec (diff)
downloadexchange-81d1b39343d98f7f5e8bdc501d79a31d418a365c.tar.gz
exchange-81d1b39343d98f7f5e8bdc501d79a31d418a365c.tar.bz2
exchange-81d1b39343d98f7f5e8bdc501d79a31d418a365c.zip
Extend exchange-lib.
Adding simple function that returns the exchange's base URL.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 351bbcd2b..bf089e6cb 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -460,6 +460,15 @@ TALER_EXCHANGE_test_signing_key (const struct TALER_EXCHANGE_Keys *keys,
/**
+ * Get exchange's base URL.
+ *
+ * @param exchange exchange handle.
+ * @return the base URL from the handle.
+ */
+const char *
+TALER_EXCHANGE_get_base_url (const struct TALER_EXCHANGE_Handle *exchange);
+
+/**
* Obtain the denomination key details from the exchange.
*
* @param keys the exchange's key set