aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-04-07 14:08:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-04-07 14:08:04 +0000
commit94e32ce7f885ecc648ae6377276f8813fc1c9347 (patch)
tree88da0722e206c60326b466b85ab118c00be13f55 /src/http/ngx_http_script.h
parent7469680c6c32901e7b6082a0e564430b587bbcfa (diff)
downloadnginx-release-0.3.37.tar.gz
nginx-release-0.3.37.zip
nginx-0.3.37-RELEASE importrelease-0.3.37
*) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
Diffstat (limited to 'src/http/ngx_http_script.h')
-rw-r--r--src/http/ngx_http_script.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/http/ngx_http_script.h b/src/http/ngx_http_script.h
index 5c53aec59..abbbf43f4 100644
--- a/src/http/ngx_http_script.h
+++ b/src/http/ngx_http_script.h
@@ -52,7 +52,6 @@ typedef struct {
void *main;
unsigned compile_args:1;
- unsigned compile_null:1;
unsigned complete_lengths:1;
unsigned complete_values:1;
@@ -94,6 +93,7 @@ typedef struct {
uintptr_t next;
uintptr_t test:1;
+ uintptr_t negative_test:1;
uintptr_t uri:1;
uintptr_t args:1;
@@ -129,6 +129,18 @@ typedef struct {
} ngx_http_script_return_code_t;
+typedef enum {
+ ngx_http_script_file_plain = 0,
+ ngx_http_script_file_not_plain
+} ngx_http_script_file_op_e;
+
+
+typedef struct {
+ ngx_http_script_code_pt code;
+ uintptr_t op;
+} ngx_http_script_file_code_t;
+
+
typedef struct {
ngx_http_script_code_pt code;
uintptr_t next;
@@ -177,6 +189,7 @@ void ngx_http_script_break_code(ngx_http_script_engine_t *e);
void ngx_http_script_if_code(ngx_http_script_engine_t *e);
void ngx_http_script_equal_code(ngx_http_script_engine_t *e);
void ngx_http_script_not_equal_code(ngx_http_script_engine_t *e);
+void ngx_http_script_file_code(ngx_http_script_engine_t *e);
void ngx_http_script_complex_value_code(ngx_http_script_engine_t *e);
void ngx_http_script_value_code(ngx_http_script_engine_t *e);
void ngx_http_script_set_var_code(ngx_http_script_engine_t *e);