comparison src/stream/ngx_stream.h @ 6606:2f41d383c9c7

Stream: added preconfiguration step.
author Vladimir Homutov <vl@nginx.com>
date Wed, 15 Jun 2016 15:10:24 +0300
parents c90cf79d0e1d
children c70b7f4537e1
comparison
equal deleted inserted replaced
6605:f379b32e4733 6606:2f41d383c9c7
143 ngx_stream_upstream_t *upstream; 143 ngx_stream_upstream_t *upstream;
144 }; 144 };
145 145
146 146
147 typedef struct { 147 typedef struct {
148 ngx_int_t (*preconfiguration)(ngx_conf_t *cf);
148 ngx_int_t (*postconfiguration)(ngx_conf_t *cf); 149 ngx_int_t (*postconfiguration)(ngx_conf_t *cf);
149 150
150 void *(*create_main_conf)(ngx_conf_t *cf); 151 void *(*create_main_conf)(ngx_conf_t *cf);
151 char *(*init_main_conf)(ngx_conf_t *cf, void *conf); 152 char *(*init_main_conf)(ngx_conf_t *cf, void *conf);
152 153