diff options
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index b6fed3f12..48c10048e 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -403,4 +403,27 @@ char * TALER_payto_xtalerbank_make (const char *bank_url, const char *account_name); + +/** + * Given an x-taler-bank payto:// URL, compute + * the HTTP(S) base URL of the account. + * + * @param payto the payto URL + * @return bank URL of the account, NULL if not x-taler-bak payto URL + */ +char * +TALER_xtalerbank_base_url_from_payto (const char *payto); + + +/** + * Given an x-taler-bank payto:// URL, compute + * the HTTP(S) base URL of the account. + * + * @param payto the payto URL + * @return bank URL of the account, NULL if not x-taler-bak payto URL + */ +char * +TALER_xtalerbank_account_url_from_payto (const char *payto); + + #endif |