comparison src/http/modules/ngx_http_charset_filter.c @ 356:2e3cbc1bbe3c

nginx-0.0.7-2004-06-16-19:32:11 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 16 Jun 2004 15:32:11 +0000
parents 55e496a8ece3
children 537de4dca8ca
comparison
equal deleted inserted replaced
355:0fb6c53fb135 356:2e3cbc1bbe3c
126 126
127 static ngx_http_output_header_filter_pt ngx_http_next_header_filter; 127 static ngx_http_output_header_filter_pt ngx_http_next_header_filter;
128 static ngx_http_output_body_filter_pt ngx_http_next_body_filter; 128 static ngx_http_output_body_filter_pt ngx_http_next_body_filter;
129 129
130 130
131 static int ngx_http_charset_header_filter(ngx_http_request_t *r) 131 static ngx_int_t ngx_http_charset_header_filter(ngx_http_request_t *r)
132 { 132 {
133 ngx_http_charset_t *charsets; 133 ngx_http_charset_t *charsets;
134 ngx_http_charset_ctx_t *ctx; 134 ngx_http_charset_ctx_t *ctx;
135 ngx_http_charset_loc_conf_t *lcf; 135 ngx_http_charset_loc_conf_t *lcf;
136 ngx_http_charset_main_conf_t *mcf; 136 ngx_http_charset_main_conf_t *mcf;
188 188
189 return ngx_http_next_header_filter(r); 189 return ngx_http_next_header_filter(r);
190 } 190 }
191 191
192 192
193 static int ngx_http_charset_body_filter(ngx_http_request_t *r, ngx_chain_t *in) 193 static ngx_int_t ngx_http_charset_body_filter(ngx_http_request_t *r,
194 ngx_chain_t *in)
194 { 195 {
195 char *table; 196 char *table;
196 ngx_chain_t *cl; 197 ngx_chain_t *cl;
197 ngx_http_charset_t *charsets; 198 ngx_http_charset_t *charsets;
198 ngx_http_charset_ctx_t *ctx; 199 ngx_http_charset_ctx_t *ctx;