diff options
author | Jeff Burdges <burdges@gnunet.org> | 2016-06-14 16:52:33 +0200 |
---|---|---|
committer | Jeff Burdges <burdges@gnunet.org> | 2016-06-14 16:52:33 +0200 |
commit | 877c5d918015164d1c1234e473984b8fd030efdb (patch) | |
tree | 2907e81cb8901beca7c3b8b7fe35023f9169fd77 /src/exchange-lib/exchange_api_handle.h | |
parent | de55e59207b3d65703b534f7bf951adcc79ec007 (diff) | |
parent | 7b9272d3e8cb4c540c876bc4e10875d45971214b (diff) |
Merge branch 'master' of git.taler.net:/var/git/exchange
Diffstat (limited to 'src/exchange-lib/exchange_api_handle.h')
-rw-r--r-- | src/exchange-lib/exchange_api_handle.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/exchange-lib/exchange_api_handle.h b/src/exchange-lib/exchange_api_handle.h index 2cf2166d..6a566150 100644 --- a/src/exchange-lib/exchange_api_handle.h +++ b/src/exchange-lib/exchange_api_handle.h @@ -55,5 +55,16 @@ char * MAH_path_to_url (struct TALER_EXCHANGE_Handle *h, const char *path); +/** + * Obtain the URL to use for an API request. + * + * @param base_url base URL of the exchange (i.e. "http://exchange/") + * @param path Taler API path (i.e. "/reserve/withdraw") + * @return the full URI to use with cURL + */ +char * +MAH_path_to_url2 (const char *base_url, + const char *path); + /* end of exchange_api_handle.h */ |