diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-30 16:31:24 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-30 16:31:24 +0200 |
commit | 7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (patch) | |
tree | 60e9259939dca8f9bb9ad2539d594fb15e67a170 /src/include/taler_util.h | |
parent | 7f902c0fc9bc7e0832d01169e6f580ab671fbf08 (diff) | |
download | exchange-7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a.tar.xz |
-generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index ee17557a4..607d76724 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -386,6 +386,16 @@ TALER_xtalerbank_account_from_payto (const char *payto); /** + * Obtain the receiver name from a payto URL. + * + * @param payto an x-taler-bank payto URL + * @return only the receiver name from the @a payto URL, NULL if not an x-taler-bank payto URL + */ +char * +TALER_payto_get_receiver_name (const char *payto); + + +/** * Extract the subject value from the URI parameters. * * @param payto_uri the URL to parse |