diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-04 18:35:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-04 18:35:53 +0200 |
commit | f4df63e448c9bcd990ec9a41eb6cb19a36246099 (patch) | |
tree | c53f8f31dfc346b416cbfeb43a715b4060e19bc3 /src/bank-lib/bank_api_common.h | |
parent | 234dbcc7b71ac98e7f63393e454377d1e2ae11c7 (diff) | |
download | exchange-f4df63e448c9bcd990ec9a41eb6cb19a36246099.tar.xz |
adding support for transaction history to wire plugin API (#4959)
Diffstat (limited to 'src/bank-lib/bank_api_common.h')
-rw-r--r-- | src/bank-lib/bank_api_common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_common.h b/src/bank-lib/bank_api_common.h index a979ee3ac..9d7a7800c 100644 --- a/src/bank-lib/bank_api_common.h +++ b/src/bank-lib/bank_api_common.h @@ -39,4 +39,16 @@ struct curl_slist * TALER_BANK_make_auth_header_ (const struct TALER_BANK_AuthenticationData *auth); +/** + * Obtain the URL to use for an API request. + * + * @param u base URL of the bank + * @param path Taler API path (i.e. "/history") + * @return the full URI to use with cURL + */ +char * +TALER_BANK_path_to_url_ (const char *u, + const char *path); + + #endif |