aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2014-12-12 20:25:35 +0300
committerValentin Bartenev <vbart@nginx.com>2014-12-12 20:25:35 +0300
commit5453f0afe6be1ee3d405ea825cf1de797419b4b7 (patch)
tree71ae2106c4811843b07d03a07acef564360c08d6 /src/core/ngx_string.h
parent921f72852690320189bd9414da9c96bf4c63eeb0 (diff)
downloadnginx-5453f0afe6be1ee3d405ea825cf1de797419b4b7.tar.gz
nginx-5453f0afe6be1ee3d405ea825cf1de797419b4b7.zip
Autoindex: implemented JSON output format.
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 712e7d0bf..7363bd242 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -207,6 +207,7 @@ uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
ngx_uint_t type);
void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type);
uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size);
+uintptr_t ngx_escape_json(u_char *dst, u_char *src, size_t size);
typedef struct {