add uh_path_match()
[project/uhttpd.git] / utils.h
diff --git a/utils.h b/utils.h
index 4f74f5c096992919a31bcee228323f3ca7094108..07db0cfec2b029942f7ae1c6183e57b6d75f88f8 100644 (file)
--- a/utils.h
+++ b/utils.h
@@ -55,4 +55,6 @@ static inline void clearenv(void)
 int uh_urldecode(char *buf, int blen, const char *src, int slen);
 int uh_urlencode(char *buf, int blen, const char *src, int slen);
 int uh_b64decode(char *buf, int blen, const unsigned char *src, int slen);
+bool uh_path_match(const char *prefix, const char *url);
+
 #endif