comparison src/http/ngx_http_request.h @ 1387:cb8b30ef3e7e

regex in server_name
author Igor Sysoev <igor@sysoev.ru>
date Sun, 12 Aug 2007 19:48:12 +0000
parents 8ef04207c84f
children 4c43e25d11ea
comparison
equal deleted inserted replaced
1386:3c6da0610f19 1387:cb8b30ef3e7e
273 273
274 ngx_uint_t pipeline; /* unsigned pipeline:1; */ 274 ngx_uint_t pipeline; /* unsigned pipeline:1; */
275 } ngx_http_connection_t; 275 } ngx_http_connection_t;
276 276
277 277
278 typedef ngx_hash_combined_t ngx_http_virtual_names_t; 278 typedef struct ngx_http_server_name_s ngx_http_server_name_t;
279
280
281 typedef struct {
282 ngx_hash_combined_t names;
283
284 ngx_uint_t nregex;
285 ngx_http_server_name_t *regex;
286 } ngx_http_virtual_names_t;
279 287
280 288
281 typedef void (*ngx_http_cleanup_pt)(void *data); 289 typedef void (*ngx_http_cleanup_pt)(void *data);
282 290
283 typedef struct ngx_http_cleanup_s ngx_http_cleanup_t; 291 typedef struct ngx_http_cleanup_s ngx_http_cleanup_t;