Mercurial > hg > nginx-mail
comparison src/core/ngx_string.h @ 322:d16d691432c9 NGINX_0_6_5
nginx 0.6.5
*) Feature: $nginx_version variable.
Thanks to Nick S. Grechukh.
*) Feature: the mail proxy supports AUTHENTICATE in IMAP mode.
Thanks to Maxim Dounin.
*) Feature: the mail proxy supports STARTTLS in SMTP mode.
Thanks to Maxim Dounin.
*) Bugfix: now nginx escapes space in $memcached_key variable.
*) Bugfix: nginx was incorrectly built by Sun Studio on
Solaris/amd64.
Thanks to Jiang Hong.
*) Bugfix: of minor potential bugs.
Thanks to Coverity's Scan.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 00:00:00 +0400 |
parents | 95183808f549 |
children | 390b8f8309d6 |
comparison
equal
deleted
inserted
replaced
321:a87830ef6fdd | 322:d16d691432c9 |
---|---|
148 uint32_t ngx_utf_decode(u_char **p, size_t n); | 148 uint32_t ngx_utf_decode(u_char **p, size_t n); |
149 size_t ngx_utf_length(u_char *p, size_t n); | 149 size_t ngx_utf_length(u_char *p, size_t n); |
150 u_char *ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); | 150 u_char *ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); |
151 | 151 |
152 | 152 |
153 #define NGX_ESCAPE_URI 0 | 153 #define NGX_ESCAPE_URI 0 |
154 #define NGX_ESCAPE_ARGS 1 | 154 #define NGX_ESCAPE_ARGS 1 |
155 #define NGX_ESCAPE_HTML 2 | 155 #define NGX_ESCAPE_HTML 2 |
156 #define NGX_ESCAPE_REFRESH 3 | 156 #define NGX_ESCAPE_REFRESH 3 |
157 #define NGX_ESCAPE_MEMCACHED 4 | |
157 | 158 |
158 #define NGX_UNESCAPE_URI 1 | 159 #define NGX_UNESCAPE_URI 1 |
159 | 160 |
160 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, | 161 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, |
161 ngx_uint_t type); | 162 ngx_uint_t type); |
162 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type); | 163 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type); |
163 | 164 |
164 | 165 |
165 void ngx_sort(void *base, size_t n, size_t size, | 166 void ngx_sort(void *base, size_t n, size_t size, |
166 int (*cmp)(const void *, const void *)); | 167 int (*cmp)(const void *, const void *)); |
167 #define ngx_qsort qsort | 168 #define ngx_qsort qsort |
168 | 169 |
169 | 170 |
170 #define ngx_value_helper(n) #n | 171 #define ngx_value_helper(n) #n |
171 #define ngx_value(n) ngx_value_helper(n) | 172 #define ngx_value(n) ngx_value_helper(n) |
172 | 173 |
173 | 174 |
174 #endif /* _NGX_STRING_H_INCLUDED_ */ | 175 #endif /* _NGX_STRING_H_INCLUDED_ */ |