comparison src/http/ngx_http_script.h @ 635:e67b227c8dbb default tip

Merge with current.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 25 Apr 2011 04:07:55 +0400
parents be70f83b184f
children
comparison
equal deleted inserted replaced
578:f3a9e57d2e17 635:e67b227c8dbb
157 157
158 158
159 typedef struct { 159 typedef struct {
160 ngx_http_script_code_pt code; 160 ngx_http_script_code_pt code;
161 uintptr_t status; 161 uintptr_t status;
162 uintptr_t null; 162 ngx_http_complex_value_t text;
163 } ngx_http_script_return_code_t; 163 } ngx_http_script_return_code_t;
164 164
165 165
166 typedef enum { 166 typedef enum {
167 ngx_http_script_file_plain = 0, 167 ngx_http_script_file_plain = 0,
205 void ngx_http_script_flush_complex_value(ngx_http_request_t *r, 205 void ngx_http_script_flush_complex_value(ngx_http_request_t *r,
206 ngx_http_complex_value_t *val); 206 ngx_http_complex_value_t *val);
207 ngx_int_t ngx_http_complex_value(ngx_http_request_t *r, 207 ngx_int_t ngx_http_complex_value(ngx_http_request_t *r,
208 ngx_http_complex_value_t *val, ngx_str_t *value); 208 ngx_http_complex_value_t *val, ngx_str_t *value);
209 ngx_int_t ngx_http_compile_complex_value(ngx_http_compile_complex_value_t *ccv); 209 ngx_int_t ngx_http_compile_complex_value(ngx_http_compile_complex_value_t *ccv);
210 char *ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd,
211 void *conf);
212
213
214 ngx_int_t ngx_http_test_predicates(ngx_http_request_t *r,
215 ngx_array_t *predicates);
216 char *ngx_http_set_predicate_slot(ngx_conf_t *cf, ngx_command_t *cmd,
217 void *conf);
210 218
211 ngx_uint_t ngx_http_script_variables_count(ngx_str_t *value); 219 ngx_uint_t ngx_http_script_variables_count(ngx_str_t *value);
212 ngx_int_t ngx_http_script_compile(ngx_http_script_compile_t *sc); 220 ngx_int_t ngx_http_script_compile(ngx_http_script_compile_t *sc);
213 u_char *ngx_http_script_run(ngx_http_request_t *r, ngx_str_t *value, 221 u_char *ngx_http_script_run(ngx_http_request_t *r, ngx_str_t *value,
214 void *code_lengths, size_t reserved, void *code_values); 222 void *code_lengths, size_t reserved, void *code_values);