aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--jnlib/stringhelp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/jnlib/stringhelp.h b/jnlib/stringhelp.h
index fdd887bf2..5f08745cb 100644
--- a/jnlib/stringhelp.h
+++ b/jnlib/stringhelp.h
@@ -117,8 +117,9 @@ isascii (int c)
#endif
#define STR2(v) STR(v)
-/* Percent-escape the string STR by replacing colons with '%3a'. */
-char *percent_escape (const char *str);
+/* Percent-escape the string STR by replacing colons with '%3a'. If
+ EXTRA is not NULL, also replace all characters given in EXTRA. */
+char *percent_escape (const char *str, const char *extra);
#endif /*LIBJNLIB_STRINGHELP_H*/