diff options
author | MS <ms@taler.net> | 2020-07-27 12:48:48 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-27 12:48:48 +0200 |
commit | 7c2de4c5e6b7b1184d059057e1d412d6f0133816 (patch) | |
tree | 258e80ba800130496785daa4851ae3893c11aed3 /src/include | |
parent | e1fcb2b26cb90a912e57acf5753480a18237f021 (diff) | |
download | exchange-7c2de4c5e6b7b1184d059057e1d412d6f0133816.tar.xz |
payto parser: extract 'subject' parameter.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_util.h | 9 |
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. |