Changeset 4385 for pjproject/branches/1.x/pjlib/include/pj/hash.h
- Timestamp:
- Feb 27, 2013 10:11:59 AM (10 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x
- Property svn:mergeinfo changed
/pjproject/trunk merged: 4208,4296
- Property svn:mergeinfo changed
-
pjproject/branches/1.x/pjlib/include/pj/hash.h
r3673 r4385 76 76 * 77 77 * @param hval The initial hash value, normally zero. 78 * @param result Buffer to store the result, which must be enough to hold79 * t he string.78 * @param result Optional. Buffer to store the result, which must be enough 79 * to hold the string. 80 80 * @param key The input key to be converted and calculated. 81 81 * … … 114 114 const void *key, unsigned keylen, 115 115 pj_uint32_t *hval ); 116 117 118 /** 119 * Variant of #pj_hash_get() with the key being converted to lowercase when 120 * calculating the hash value. 121 * 122 * @see pj_hash_get() 123 */ 124 PJ_DECL(void *) pj_hash_get_lower( pj_hash_table_t *ht, 125 const void *key, unsigned keylen, 126 pj_uint32_t *hval ); 116 127 117 128 … … 143 154 144 155 /** 156 * Variant of #pj_hash_set() with the key being converted to lowercase when 157 * calculating the hash value. 158 * 159 * @see pj_hash_set() 160 */ 161 PJ_DECL(void) pj_hash_set_lower( pj_pool_t *pool, pj_hash_table_t *ht, 162 const void *key, unsigned keylen, 163 pj_uint32_t hval, void *value ); 164 165 166 /** 145 167 * Associate/disassociate a value with the specified key. This function works 146 168 * like #pj_hash_set(), except that it doesn't use pool (hence the np -- no … … 166 188 167 189 /** 190 * Variant of #pj_hash_set_np() with the key being converted to lowercase 191 * when calculating the hash value. 192 * 193 * @see pj_hash_set_np() 194 */ 195 PJ_DECL(void) pj_hash_set_np_lower(pj_hash_table_t *ht, 196 const void *key, unsigned keylen, 197 pj_uint32_t hval, 198 pj_hash_entry_buf entry_buf, 199 void *value); 200 201 /** 168 202 * Get the total number of entries in the hash table. 169 203 *
Note: See TracChangeset
for help on using the changeset viewer.