comparison src/http/ngx_http_variables.h @ 1310:33d6c994a0b2

Sun Studio on sparc uses different bit order
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Jul 2007 09:23:23 +0000
parents f59d15404269
children 4c43e25d11ea
comparison
equal deleted inserted replaced
1309:08c6ee7a1b11 1310:33d6c994a0b2
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_event.h> 13 #include <ngx_event.h>
14 #include <ngx_http.h> 14 #include <ngx_http.h>
15 15
16 16
17 typedef struct { 17 typedef ngx_variable_value_t ngx_http_variable_value_t;
18 unsigned len:29;
19
20 unsigned valid:1;
21 unsigned no_cachable:1;
22 unsigned not_found:1;
23
24 u_char *data;
25 } ngx_http_variable_value_t;
26 18
27 #define ngx_http_variable(v) { sizeof(v) - 1, 1, 0, 0, (u_char *) v } 19 #define ngx_http_variable(v) { sizeof(v) - 1, 1, 0, 0, (u_char *) v }
28 20
29 typedef struct ngx_http_variable_s ngx_http_variable_t; 21 typedef struct ngx_http_variable_s ngx_http_variable_t;
30 22