diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-07-17 13:23:23 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-07-17 13:23:23 +0400 |
commit | f42ed05e9cb6125d5eb9183a1218cd38a4082c20 (patch) | |
tree | 71c17cb6ca65c6983e5aeed8a33b7d37f89ebe06 /src/core/ngx_string.h | |
parent | d3cdbc85e800c2678fcdfca7b6e4792c59d5838b (diff) |
Sun Studio on sparc uses different bit order
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 6b432d1f2..9e0b06394 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -13,17 +13,28 @@ typedef struct { - size_t len; - u_char *data; + size_t len; + u_char *data; } ngx_str_t; typedef struct { - ngx_str_t key; - ngx_str_t value; + ngx_str_t key; + ngx_str_t value; } ngx_keyval_t; +typedef struct { + unsigned len:29; + + unsigned valid:1; + unsigned no_cachable:1; + unsigned not_found:1; + + u_char *data; +} ngx_variable_value_t; + + #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } #define ngx_null_string { 0, NULL } |