aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-27 14:14:07 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-27 14:14:40 +0200
commit022fba51d569826a376f517e5ee3302222e7470c (patch)
tree68f207fa39a6d9c9681768be3d460a1cc2202762 /src/include
parentccdbc2a4526c5f8750cdce2180b4d5f481d264b4 (diff)
parent6fd44ff2ea8f86655ac6450efd88da85b48211cf (diff)
downloadexchange-022fba51d569826a376f517e5ee3302222e7470c.tar.xz
better fix
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 22d7f7f2a..1d1c01eaf 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -297,6 +297,15 @@ TALER_payto_get_method (const char *payto_uri);
char *
TALER_xtalerbank_account_from_payto (const char *payto);
+/**
+ * Extract the subject value from the URI parameters.
+ *
+ * @param payto_uri the URL to parse
+ * @return NULL if the subject parameter is not found.
+ * The caller should free the returned value.
+ */
+char *
+TALER_payto_get_subject (const char *payto_uri);
/**
* Possible values for a binary filter.