~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/http/ngx_http_variables.h

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2011-04-14 10:41:08 UTC
  • mto: (4.3.1 sid) (1.4.1)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: james.westby@ubuntu.com-20110414104108-2wbdmewgq5wm65ib
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
} ngx_http_regex_t;
77
77
 
78
78
 
 
79
typedef struct {
 
80
    ngx_http_regex_t             *regex;
 
81
    void                         *value;
 
82
} ngx_http_map_regex_t;
 
83
 
 
84
 
79
85
ngx_http_regex_t *ngx_http_regex_compile(ngx_conf_t *cf,
80
86
    ngx_regex_compile_t *rc);
81
87
ngx_int_t ngx_http_regex_exec(ngx_http_request_t *r, ngx_http_regex_t *re,
84
90
#endif
85
91
 
86
92
 
 
93
typedef struct {
 
94
    ngx_hash_combined_t           hash;
 
95
#if (NGX_PCRE)
 
96
    ngx_http_map_regex_t         *regex;
 
97
    ngx_uint_t                    nregex;
 
98
#endif
 
99
} ngx_http_map_t;
 
100
 
 
101
 
 
102
void *ngx_http_map_find(ngx_http_request_t *r, ngx_http_map_t *map,
 
103
    ngx_uint_t key, u_char *text, size_t len, ngx_str_t *match);
 
104
 
 
105
 
87
106
ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf);
88
107
ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf);
89
108