summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-07-27 12:48:48 +0200
committerMS <ms@taler.net>2020-07-27 12:48:48 +0200
commit7c2de4c5e6b7b1184d059057e1d412d6f0133816 (patch)
tree258e80ba800130496785daa4851ae3893c11aed3 /src/include
parente1fcb2b26cb90a912e57acf5753480a18237f021 (diff)
downloadexchange-7c2de4c5e6b7b1184d059057e1d412d6f0133816.tar.gz
exchange-7c2de4c5e6b7b1184d059057e1d412d6f0133816.tar.bz2
exchange-7c2de4c5e6b7b1184d059057e1d412d6f0133816.zip
payto parser: extract 'subject' parameter.
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.