summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.h
diff options
context:
space:
mode:
authorAxel Duch <axel.duch@nginx.com>2020-05-14 12:29:06 +0200
committerAxel Duch <axel.duch@nginx.com>2020-05-14 12:29:06 +0200
commitee1e248f4b038bb9e03fd78463da580af03c28f7 (patch)
tree7023ed63db7edb5fa616bc41a424b1a6c1e35046 /src/nxt_string.h
parent376d758dd72ac27f2bd5bb833ba68f5c9b531880 (diff)
downloadunit-ee1e248f4b038bb9e03fd78463da580af03c28f7.tar.gz
unit-ee1e248f4b038bb9e03fd78463da580af03c28f7.tar.bz2
Router: decode uri and args.
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 7863c60e..7d1e044d 100644
--- a/src/nxt_string.h
+++ b/src/nxt_string.h
@@ -174,10 +174,13 @@ NXT_EXPORT nxt_bool_t nxt_strvers_match(u_char *version, u_char *prefix,
size_t length);
NXT_EXPORT u_char *nxt_decode_uri(u_char *dst, u_char *src, size_t length);
+NXT_EXPORT u_char *nxt_decode_uri_plus(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);
+NXT_EXPORT const uint8_t nxt_hex2int[256];
+
#endif /* _NXT_STRING_H_INCLUDED_ */