#include <ngx_config.h>
#include <ngx_core.h>
Go to the source code of this file.
Functions |
void * | ngx_hash_find (ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len) |
void * | ngx_hash_find_wc_head (ngx_hash_wildcard_t *hwc, u_char *name, size_t len) |
void * | ngx_hash_find_wc_tail (ngx_hash_wildcard_t *hwc, u_char *name, size_t len) |
void * | ngx_hash_find_combined (ngx_hash_combined_t *hash, ngx_uint_t key, u_char *name, size_t len) |
ngx_int_t | ngx_hash_init (ngx_hash_init_t *hinit, ngx_hash_key_t *names, ngx_uint_t nelts) |
ngx_int_t | ngx_hash_wildcard_init (ngx_hash_init_t *hinit, ngx_hash_key_t *names, ngx_uint_t nelts) |
ngx_uint_t | ngx_hash_key (u_char *data, size_t len) |
ngx_uint_t | ngx_hash_key_lc (u_char *data, size_t len) |
ngx_uint_t | ngx_hash_strlow (u_char *dst, u_char *src, size_t n) |
ngx_int_t | ngx_hash_keys_array_init (ngx_hash_keys_arrays_t *ha, ngx_uint_t type) |
ngx_int_t | ngx_hash_add_key (ngx_hash_keys_arrays_t *ha, ngx_str_t *key, void *value, ngx_uint_t flags) |
Macro Definition Documentation
#define NGX_HASH_ELT_SIZE |
( |
|
name | ) |
(sizeof(void *) + ngx_align((name)->key.len + 2, sizeof(void *))) |
Function Documentation
ngx_uint_t ngx_hash_key |
( |
u_char * |
data, |
|
|
size_t |
len |
|
) |
| |
ngx_uint_t ngx_hash_key_lc |
( |
u_char * |
data, |
|
|
size_t |
len |
|
) |
| |
ngx_uint_t ngx_hash_strlow |
( |
u_char * |
dst, |
|
|
u_char * |
src, |
|
|
size_t |
n |
|
) |
| |