Home --> Documentations --> PJLIB Reference
Go to the documentation of this file.
45#define PJ_HASH_KEY_STRING ((unsigned)-1)
50#define PJ_HASH_ENTRY_BUF_SIZE (3*sizeof(void*) + 2*sizeof(pj_uint32_t))
69 const void *key, unsigned keylen);
113 const void *key, unsigned keylen,
124 const void *key, unsigned keylen,
150 const void *key, unsigned keylen, pj_uint32_t hval,
161 const void *key, unsigned keylen,
184 const void *key, unsigned keylen,
195 const void *key, unsigned keylen,
struct pj_hash_table_t pj_hash_table_t Definition: types.h:167
unsigned int pj_uint32_t Definition: types.h:43
pj_hash_table_t * pj_hash_create(pj_pool_t *pool, unsigned size)
void pj_hash_set_np_lower(pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t hval, pj_hash_entry_buf entry_buf, void *value)
pj_hash_iterator_t * pj_hash_next(pj_hash_table_t *ht, pj_hash_iterator_t *it)
void pj_hash_set(pj_pool_t *pool, pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t hval, void *value)
void * pj_hash_get(pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t *hval)
#define PJ_HASH_ENTRY_BUF_SIZE Definition: hash.h:50
void * pj_hash_entry_buf[((3 *sizeof(void *)+2 *sizeof(pj_uint32_t))+sizeof(void *) -1)/(sizeof(void *))] Definition: hash.h:55
pj_hash_iterator_t * pj_hash_first(pj_hash_table_t *ht, pj_hash_iterator_t *it)
void pj_hash_set_np(pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t hval, pj_hash_entry_buf entry_buf, void *value)
pj_uint32_t pj_hash_calc_tolower(pj_uint32_t hval, char *result, const pj_str_t *key)
void pj_hash_set_lower(pj_pool_t *pool, pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t hval, void *value)
pj_uint32_t pj_hash_calc(pj_uint32_t hval, const void *key, unsigned keylen)
unsigned pj_hash_count(pj_hash_table_t *ht)
void * pj_hash_this(pj_hash_table_t *ht, pj_hash_iterator_t *it)
void * pj_hash_get_lower(pj_hash_table_t *ht, const void *key, unsigned keylen, pj_uint32_t *hval)
#define PJ_BEGIN_DECL Definition: config.h:1284
#define PJ_END_DECL Definition: config.h:1285
Declaration of basic types and utility.
PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.
|