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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 8192ed87c..6c2948221 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -230,6 +230,16 @@ TALER_OS_init (void);
/**
+ * Re-encode string at @a inp to match RFC 8785 (section 3.2.2.2).
+ *
+ * @param[in,out] inp pointer to string to re-encode
+ * @return number of bytes in resulting @a inp
+ */
+size_t
+TALER_rfc8785encode (char **inp);
+
+
+/**
* URL-encode a string according to rfc3986.
*
* @param s string to encode