summaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-15 11:48:41 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-15 11:48:49 +0100
commit4547bfb318bfad96b12694dd93a50f50717478b6 (patch)
treee60f6e1f8b2da591004015cdde7875c8518adb18 /src/include/taler_util.h
parent4c488a1d0ee668486d03fb5ad64924411c81b9a1 (diff)
downloadexchange-4547bfb318bfad96b12694dd93a50f50717478b6.tar.gz
exchange-4547bfb318bfad96b12694dd93a50f50717478b6.tar.bz2
exchange-4547bfb318bfad96b12694dd93a50f50717478b6.zip
fix fakebank account vs. full payto confusion
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r--src/include/taler_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index da5017949..0f4eaab66 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -280,4 +280,15 @@ char *
TALER_xtalerbank_account_url_from_payto (const char *payto);
+/**
+ * Obtain the account name from a payto URL.
+ *
+ * @param payto an x-taler-bank payto URL
+ * @return only the account name from the @a payto URL, NULL if not an x-taler-bank
+ * payto URL
+ */
+char *
+TALER_xtalerbank_account_from_payto (const char *payto);
+
+
#endif