|
Functions |
| switch_status_t | switch_core_hash_init (_Out_ switch_hash_t **hash, _In_ switch_memory_pool_t *pool) |
| | Initilize a hash table.
|
| switch_status_t | switch_core_hash_destroy (_Inout_ switch_hash_t **hash) |
| | Destroy an existing hash table.
|
| switch_status_t | switch_core_hash_insert (_In_ switch_hash_t *hash, _In_z_ const char *key, _In_opt_ const void *data) |
| | Insert data into a hash.
|
| switch_status_t | switch_core_hash_insert_locked (_In_ switch_hash_t *hash, _In_z_ const char *key, _In_opt_ const void *data, _In_ switch_mutex_t *mutex) |
| | Insert data into a hash.
|
| switch_status_t | switch_core_hash_delete (_In_ switch_hash_t *hash, _In_z_ const char *key) |
| | Delete data from a hash based on desired key.
|
| switch_status_t | switch_core_hash_delete_locked (_In_ switch_hash_t *hash, _In_z_ const char *key, _In_ switch_mutex_t *mutex) |
| | Delete data from a hash based on desired key.
|
| void * | switch_core_hash_find (_In_ switch_hash_t *hash, _In_z_ const char *key) |
| | Retrieve data from a given hash.
|
| void * | switch_core_hash_find_locked (_In_ switch_hash_t *hash, _In_z_ const char *key, _In_ switch_mutex_t *mutex) |
| | Retrieve data from a given hash.
|
| switch_hash_index_t * | switch_hash_first (char *depricate_me, _In_ switch_hash_t *hash) |
| switch_hash_index_t * | switch_hash_next (_In_ switch_hash_index_t *hi) |
| void | switch_hash_this (_In_ switch_hash_index_t *hi, _Out_opt_ptrdiff_cap_(klen) const void **key, _Out_opt_ switch_ssize_t *klen, _Out_ void **val) |