comparison src/core/ngx_string.h @ 1593:bef67c6abbe7

unescape SSI include
author Igor Sysoev <igor@sysoev.ru>
date Mon, 22 Oct 2007 10:19:17 +0000
parents 4c43e25d11ea
children 89a47f19b9ec
comparison
equal deleted inserted replaced
1592:128ea9efb824 1593:bef67c6abbe7
153 uint32_t ngx_utf_decode(u_char **p, size_t n); 153 uint32_t ngx_utf_decode(u_char **p, size_t n);
154 size_t ngx_utf_length(u_char *p, size_t n); 154 size_t ngx_utf_length(u_char *p, size_t n);
155 u_char *ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); 155 u_char *ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n);
156 156
157 157
158 #define NGX_ESCAPE_URI 0 158 #define NGX_ESCAPE_URI 0
159 #define NGX_ESCAPE_ARGS 1 159 #define NGX_ESCAPE_ARGS 1
160 #define NGX_ESCAPE_HTML 2 160 #define NGX_ESCAPE_HTML 2
161 #define NGX_ESCAPE_REFRESH 3 161 #define NGX_ESCAPE_REFRESH 3
162 #define NGX_ESCAPE_MEMCACHED 4 162 #define NGX_ESCAPE_MEMCACHED 4
163 #define NGX_ESCAPE_MAIL_AUTH 5 163 #define NGX_ESCAPE_MAIL_AUTH 5
164 164
165 #define NGX_UNESCAPE_URI 1 165 #define NGX_UNESCAPE_URI 1
166 #define NGX_UNESCAPE_REDIRECT 2
166 167
167 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, 168 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
168 ngx_uint_t type); 169 ngx_uint_t type);
169 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type); 170 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type);
170 uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size); 171 uintptr_t ngx_escape_html(u_char *dst, u_char *src, size_t size);