aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hash.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-01-11 15:26:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-01-11 15:26:57 +0000
commitdf3254aa49c80b350ff4fa2eb50baf3cafbed71c (patch)
tree15a72baf5205f698354f529e4ba2d5846b558c4a /src/core/ngx_hash.h
parent04ebcd942969bc479b4cc680eab6bf01f488f12f (diff)
downloadnginx-df3254aa49c80b350ff4fa2eb50baf3cafbed71c.tar.gz
nginx-df3254aa49c80b350ff4fa2eb50baf3cafbed71c.zip
nginx-0.3.20-RELEASE importrelease-0.3.20
*) Bugfix: in SSI handling. *) Bugfix: the ngx_http_memcached_module did not support the keys in the "/usr?args" form.
Diffstat (limited to 'src/core/ngx_hash.h')
-rw-r--r--src/core/ngx_hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_hash.h b/src/core/ngx_hash.h
index 855dde7c4..ad7343807 100644
--- a/src/core/ngx_hash.h
+++ b/src/core/ngx_hash.h
@@ -61,6 +61,7 @@ typedef struct {
#define NGX_HASH_LARGE_HSIZE 10007
#define NGX_HASH_WILDCARD_KEY 1
+#define NGX_HASH_READONLY_KEY 2
typedef struct {
@@ -114,6 +115,7 @@ ngx_int_t ngx_hash_add_key(ngx_hash_keys_arrays_t *ha, ngx_str_t *key,
void *value, ngx_uint_t flags);
+#define ngx_hash0(key, c) key + c
ngx_int_t ngx_hash0_init(ngx_hash0_t *hash, ngx_pool_t *pool, void *names,
ngx_uint_t nelts);