comparison src/core/ngx_string.h @ 326:f70f2f565fe0 NGINX_0_5_33

nginx 0.5.33 *) Change: now by default the "echo" SSI command uses entity encoding. *) Feature: the "encoding" parameter in the "echo" SSI command. *) Change: mail proxy was split on three modules: pop3, imap and smtp. *) Feature: the --without-mail_pop3_module, --without-mail_imap_module, and --without-mail_smtp_module configuration parameters. *) Feature: the "smtp_greeting_delay" and "smtp_client_buffer" directives of the ngx_mail_smtp_module. *) Feature: the "server_name" and "valid_referers" directives support regular expressions. *) Feature: the "server_name", "map", and "valid_referers" directives support the "www.example.*" wildcards. *) Bugfix: sub_filter did not work with empty substitution. *) Bugfix: in sub_filter parsing. *) Bugfix: a worker process may got caught in an endless loop, if the memcached was used. *) Bugfix: nginx supported low case only "close" and "keep-alive" values in the "Connection" request header line; bug appeared in 0.5.32. *) Bugfix: nginx could not start on Solaris if the shared PCRE library located in non-standard place was used.
author Igor Sysoev <http://sysoev.ru>
date Wed, 07 Nov 2007 00:00:00 +0300
parents 7cf404023f50
children 26ff8d6b618d
comparison
equal deleted inserted replaced
325:5bb1b28ddeaa 326:f70f2f565fe0
124 u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args); 124 u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args);
125 125
126 ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2); 126 ngx_int_t ngx_strcasecmp(u_char *s1, u_char *s2);
127 ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n); 127 ngx_int_t ngx_strncasecmp(u_char *s1, u_char *s2, size_t n);
128 128
129 u_char *ngx_strnstr(u_char *s1, char *s2, size_t n);
130
131 u_char *ngx_strstrn(u_char *s1, char *s2, size_t n);
132 u_char *ngx_strcasestrn(u_char *s1, char *s2, size_t n);
133
129 ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n); 134 ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n);
130 ngx_int_t ngx_rstrncasecmp(u_char *s1, u_char *s2, size_t n); 135 ngx_int_t ngx_rstrncasecmp(u_char *s1, u_char *s2, size_t n);
131 ngx_int_t ngx_memn2cmp(u_char *s1, u_char *s2, size_t n1, size_t n2); 136 ngx_int_t ngx_memn2cmp(u_char *s1, u_char *s2, size_t n1, size_t n2);
132 137
133 ngx_int_t ngx_atoi(u_char *line, size_t n); 138 ngx_int_t ngx_atoi(u_char *line, size_t n);
160 #define NGX_UNESCAPE_URI 1 165 #define NGX_UNESCAPE_URI 1
161 166
162 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, 167 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
163 ngx_uint_t type); 168 ngx_uint_t type);
164 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type); 169 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
165 172
166 173
167 void ngx_sort(void *base, size_t n, size_t size, 174 void ngx_sort(void *base, size_t n, size_t size,
168 int (*cmp)(const void *, const void *)); 175 int (*cmp)(const void *, const void *));
169 #define ngx_qsort qsort 176 #define ngx_qsort qsort