comparison src/core/ngx_string.h @ 392:34fb3a573548 NGINX_0_7_8

nginx 0.7.8 *) Feature: the ngx_http_xslt_module. *) Feature: the "$arg_..." variables. *) Feature: Solaris directio support. Thanks to Ivan Debnar. *) Bugfix: now if FastCGI server sends a "Location" header line without status line, then nginx uses 302 status code. Thanks to Maxim Dounin.
author Igor Sysoev <http://sysoev.ru>
date Mon, 04 Aug 2008 00:00:00 +0400
parents 0b6053502c55
children 6ebbca3d5ed7
comparison
equal deleted inserted replaced
391:4ec606a899d3 392:34fb3a573548
40 #define ngx_null_string { 0, NULL } 40 #define ngx_null_string { 0, NULL }
41 41
42 42
43 #define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c) 43 #define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c)
44 #define ngx_toupper(c) (u_char) ((c >= 'a' && c <= 'z') ? (c & ~0x20) : c) 44 #define ngx_toupper(c) (u_char) ((c >= 'a' && c <= 'z') ? (c & ~0x20) : c)
45
46 void ngx_strlow(u_char *dst, u_char *src, size_t n);
45 47
46 48
47 #define ngx_strncmp(s1, s2, n) strncmp((const char *) s1, (const char *) s2, n) 49 #define ngx_strncmp(s1, s2, n) strncmp((const char *) s1, (const char *) s2, n)
48 50
49 51