Mercurial > hg > nginx-site
comparison xml/en/docs/dev/development_guide.xml @ 2023:ec34516cbd1b
DevGuide: documented macros for null variables.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 01 Aug 2017 17:30:19 +0300 |
parents | 9b7302e3b21f |
children | a8d1a748324f |
comparison
equal
deleted
inserted
replaced
2022:632f7f467e12 | 2023:ec34516cbd1b |
---|---|
4855 <programlisting> | 4855 <programlisting> |
4856 static ngx_http_variable_t ngx_http_foo_vars[] = { | 4856 static ngx_http_variable_t ngx_http_foo_vars[] = { |
4857 | 4857 |
4858 { ngx_string("foo_v1"), NULL, ngx_http_foo_v1_variable, 0, 0, 0 }, | 4858 { ngx_string("foo_v1"), NULL, ngx_http_foo_v1_variable, 0, 0, 0 }, |
4859 | 4859 |
4860 { ngx_null_string, NULL, NULL, 0, 0, 0 } | 4860 ngx_http_null_variable |
4861 }; | 4861 }; |
4862 | 4862 |
4863 static ngx_int_t | 4863 static ngx_int_t |
4864 ngx_http_foo_add_variables(ngx_conf_t *cf) | 4864 ngx_http_foo_add_variables(ngx_conf_t *cf) |
4865 { | 4865 { |