Mercurial > hg > nginx-vendor-0-5
comparison src/core/ngx_string.h @ 318:3021f899881a NGINX_0_5_29
nginx 0.5.29
*) Feature: $nginx_version variable.
Thanks to Nick S. Grechukh.
*) Bugfix: if the FastCGI header was split in records, then nginx
passed garbage in the header to a client.
*) Bugfix: Sun Studio compatibility on Solaris/amd64 and
Solaris/sparc64.
Thanks to Jiang Hong and Andrei Nigmatulin.
*) 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 | 24def6198d7f |
children | 1e9e2c5e7c14 |
comparison
equal
deleted
inserted
replaced
317:c012154f05d1 | 318:3021f899881a |
---|---|
11 #include <ngx_config.h> | 11 #include <ngx_config.h> |
12 #include <ngx_core.h> | 12 #include <ngx_core.h> |
13 | 13 |
14 | 14 |
15 typedef struct { | 15 typedef struct { |
16 size_t len; | 16 size_t len; |
17 u_char *data; | 17 u_char *data; |
18 } ngx_str_t; | 18 } ngx_str_t; |
19 | 19 |
20 | 20 |
21 typedef struct { | 21 typedef struct { |
22 ngx_str_t key; | 22 ngx_str_t key; |
23 ngx_str_t value; | 23 ngx_str_t value; |
24 } ngx_keyval_t; | 24 } ngx_keyval_t; |
25 | |
26 | |
27 typedef struct { | |
28 unsigned len:29; | |
29 | |
30 unsigned valid:1; | |
31 unsigned no_cachable:1; | |
32 unsigned not_found:1; | |
33 | |
34 u_char *data; | |
35 } ngx_variable_value_t; | |
25 | 36 |
26 | 37 |
27 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } | 38 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } |
28 #define ngx_null_string { 0, NULL } | 39 #define ngx_null_string { 0, NULL } |
29 | 40 |