aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ngx_stream_variables.h')
-rw-r--r--src/stream/ngx_stream_variables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/ngx_stream_variables.h b/src/stream/ngx_stream_variables.h
index 815511154..4ead2a624 100644
--- a/src/stream/ngx_stream_variables.h
+++ b/src/stream/ngx_stream_variables.h
@@ -43,6 +43,8 @@ struct ngx_stream_variable_s {
ngx_uint_t index;
};
+#define ngx_stream_null_variable { ngx_null_string, NULL, NULL, 0, 0, 0 }
+
ngx_stream_variable_t *ngx_stream_add_variable(ngx_conf_t *cf, ngx_str_t *name,
ngx_uint_t flags);