blob: b69a4e2a2dd6b5e7d9d79a8afba3096ac5129847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef NGX_HTTP_ARRAY_VAR_UTIL_H
#define NGX_HTTP_ARRAY_VAR_UTIL_H
#include <ndk.h>
#include <ngx_core.h>
#include <ngx_http.h>
ngx_int_t ngx_http_array_var_add_variable(ngx_conf_t *cf, ngx_str_t *name);
u_char *ngx_http_array_var_strlstrn(u_char *s1, u_char *last, u_char *s2,
size_t n);
ndk_set_var_value_pt ngx_http_array_var_get_func_from_cmd(u_char *name,
size_t name_len);
#ifndef ngx_str3cmp
# define ngx_str3cmp(m, c0, c1, c2) \
m[0] == c0 && m[1] == c1 && m[2] == c2
#endif /* ngx_str3cmp */
#endif /* NGX_HTTP_ARRAY_VAR_UTIL_H */
|