summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2017-11-15 10:22:09 +0100
committerDaniel Carl <danielcarl@gmx.de>2017-11-15 10:22:09 +0100
commitb028fee7356d1c33c2ab79040f8b2e7a6615907a (patch)
tree62dcd30fb771e7c1e2fb10a3668e64bfba96efb9 /src/util.h
parentecd6e497ec995c113607e302a9ef17b5f7487ed0 (diff)
Move sanitize_uri to utils.
This will allow us to used this in other parts too.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index b0b73b4..0084939 100644
--- a/src/util.h
+++ b/src/util.h
@@ -53,6 +53,7 @@ double util_js_result_as_number(WebKitJavascriptResult *result);
gboolean util_parse_expansion(Client *c, const char **input, GString *str,
int flags, const char *quoteable);
char *util_sanitize_filename(char *filename);
+char *util_sanitize_uri(const char *uri_str);
char *util_strcasestr(const char *haystack, const char *needle);
char *util_str_replace(const char* search, const char* replace, const char* string);
gboolean util_wildmatch(const char *pattern, const char *subject);