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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index ad2f46a45..33c126cbc 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -313,6 +313,7 @@ TALER_payto_get_method (const char *payto_uri);
313char * 313char *
314TALER_xtalerbank_account_from_payto (const char *payto); 314TALER_xtalerbank_account_from_payto (const char *payto);
315 315
316
316/** 317/**
317 * Extract the subject value from the URI parameters. 318 * Extract the subject value from the URI parameters.
318 * 319 *
@@ -323,6 +324,18 @@ TALER_xtalerbank_account_from_payto (const char *payto);
323char * 324char *
324TALER_payto_get_subject (const char *payto_uri); 325TALER_payto_get_subject (const char *payto_uri);
325 326
327
328/**
329 * Check that a payto:// URI is well-formed.
330 *
331 * @param payto_uri the URL to check
332 * @return NULL on success, otherwise an error
333 * message to be freed by the caller!
334 */
335char *
336TALER_payto_validate (const char *payto_uri);
337
338
326/** 339/**
327 * Possible values for a binary filter. 340 * Possible values for a binary filter.
328 */ 341 */