summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2020-03-27 17:22:52 +0300
committerValentin Bartenev <vbart@nginx.com>2020-03-27 17:22:52 +0300
commit35d6f84426cfaa27587456a8ebb81b13f60e697a (patch)
treefb1d8cf6c49910275308700a9f29d848c4500f91 /src/nxt_string.h
parentd4b4cb0438d753e7694f8f76c41207bbe01fe790 (diff)
downloadunit-35d6f84426cfaa27587456a8ebb81b13f60e697a.tar.gz
unit-35d6f84426cfaa27587456a8ebb81b13f60e697a.tar.bz2
Added nxt_is_complex_uri_encoded()/nxt_encode_complex_uri().
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r--src/nxt_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h
index de498048..d10658f7 100644
--- a/src/nxt_string.h
+++ b/src/nxt_string.h
@@ -170,6 +170,9 @@ NXT_EXPORT nxt_bool_t nxt_strvers_match(u_char *version, u_char *prefix,
NXT_EXPORT u_char *nxt_decode_uri(u_char *dst, u_char *src, size_t length);
NXT_EXPORT uintptr_t nxt_encode_uri(u_char *dst, u_char *src, size_t length);
+NXT_EXPORT uintptr_t nxt_encode_complex_uri(u_char *dst, u_char *src,
+ size_t length);
+NXT_EXPORT nxt_bool_t nxt_is_complex_uri_encoded(u_char *s, size_t length);
#endif /* _NXT_STRING_H_INCLUDED_ */