Mercurial > hg > nginx-vendor-current
annotate src/core/ngx_regex.h @ 24:420dd3f9e703 NGINX_0_1_12
nginx 0.1.12
*) Feature: the %request_length log parameter.
*) Bugfix: when using the /dev/poll, select and poll on the platforms,
where these methods may do the false reports, there may be the long
delay when the request was passed via the keep-alive connection. It
may be at least on Solaris when using the /dev/poll.
*) Bugfix: the send_lowat directive is ignored on Linux because Linux
does not support the SO_SNDLOWAT option.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 06 Dec 2004 00:00:00 +0300 |
parents | f0b350454894 |
children | e1ada20fc595 |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_REGEX_H_INCLUDED_ | |
8 #define _NGX_REGEX_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 #include <pcre.h> | |
15 | |
16 | |
17 #define NGX_REGEX_CASELESS PCRE_CASELESS | |
18 | |
19 typedef pcre ngx_regex_t; | |
20 | |
21 void ngx_regex_init(); | |
22 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options, | |
23 ngx_pool_t *pool, ngx_str_t *err); | |
24 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s, | |
25 int *matches, ngx_int_t size); | |
26 | |
27 #define ngx_regex_exec_n "pcre_exec()" | |
28 | |
29 | |
30 #endif /* _NGX_REGEX_H_INCLUDED_ */ |