Mercurial > hg > nginx-quic
comparison src/stream/ngx_stream.h @ 6692:56fc55e32f23
Stream: filters.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 15 Sep 2016 14:55:46 +0300 |
parents | 9cac11efb205 |
children | 3908156a51fa |
comparison
equal
deleted
inserted
replaced
6691:4bce3edfac2c | 6692:56fc55e32f23 |
---|---|
241 ((ngx_stream_conf_ctx_t *) cycle->conf_ctx[ngx_stream_module.index]) \ | 241 ((ngx_stream_conf_ctx_t *) cycle->conf_ctx[ngx_stream_module.index]) \ |
242 ->main_conf[module.ctx_index]: \ | 242 ->main_conf[module.ctx_index]: \ |
243 NULL) | 243 NULL) |
244 | 244 |
245 | 245 |
246 #define NGX_STREAM_WRITE_BUFFERED 0x10 | |
247 | |
248 | |
246 void ngx_stream_init_connection(ngx_connection_t *c); | 249 void ngx_stream_init_connection(ngx_connection_t *c); |
247 void ngx_stream_finalize_session(ngx_stream_session_t *s, ngx_uint_t rc); | 250 void ngx_stream_finalize_session(ngx_stream_session_t *s, ngx_uint_t rc); |
248 | 251 |
249 | 252 |
250 extern ngx_module_t ngx_stream_module; | 253 extern ngx_module_t ngx_stream_module; |
251 extern ngx_uint_t ngx_stream_max_module; | 254 extern ngx_uint_t ngx_stream_max_module; |
252 extern ngx_module_t ngx_stream_core_module; | 255 extern ngx_module_t ngx_stream_core_module; |
253 | 256 |
254 | 257 |
258 typedef ngx_int_t (*ngx_stream_filter_pt)(ngx_stream_session_t *s, | |
259 ngx_chain_t *chain, ngx_uint_t from_upstream); | |
260 | |
261 | |
262 extern ngx_stream_filter_pt ngx_stream_top_filter; | |
263 | |
264 | |
255 #endif /* _NGX_STREAM_H_INCLUDED_ */ | 265 #endif /* _NGX_STREAM_H_INCLUDED_ */ |