summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_string.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-09-19 02:47:09 +0300
committerValentin Bartenev <vbart@nginx.com>2019-09-19 02:47:09 +0300
commit08a8d1510d5f73d91112ead9e6ac075fb7d2bac0 (patch)
treef4dceb5af955f40820b0edbde4bdae41084c80ce /src/nxt_string.h
parentc554941b4f826d83d92d5ca8d7713bea4167896e (diff)
downloadunit-08a8d1510d5f73d91112ead9e6ac075fb7d2bac0.tar.gz
unit-08a8d1510d5f73d91112ead9e6ac075fb7d2bac0.tar.bz2
Basic support for serving static files.
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r--src/nxt_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h
index 56d7316b..8d7b3b73 100644
--- a/src/nxt_string.h
+++ b/src/nxt_string.h
@@ -169,6 +169,7 @@ 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 uintptr_t nxt_encode_uri(u_char *dst, u_char *src, size_t length);
#endif /* _NXT_STRING_H_INCLUDED_ */