summaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-05-30 16:31:24 +0200
commit7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a (patch)
tree60e9259939dca8f9bb9ad2539d594fb15e67a170 /src/include/taler_util.h
parent7f902c0fc9bc7e0832d01169e6f580ab671fbf08 (diff)
downloadexchange-7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a.tar.gz
exchange-7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a.tar.bz2
exchange-7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a.zip
-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.h10
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