aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_variables.h')
-rw-r--r--src/http/ngx_http_variables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_variables.h b/src/http/ngx_http_variables.h
index df337defc..f3f7f3c1c 100644
--- a/src/http/ngx_http_variables.h
+++ b/src/http/ngx_http_variables.h
@@ -43,6 +43,8 @@ struct ngx_http_variable_s {
ngx_uint_t index;
};
+#define ngx_http_null_variable { ngx_null_string, NULL, NULL, 0, 0, 0 }
+
ngx_http_variable_t *ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name,
ngx_uint_t flags);