aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_util.h')
-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.