src/misc/hash_table.c File Reference

Simple bucket hash table implementation. More...

#include <misc/result.h>
#include <misc/malloc.h>
#include <misc/hash_table.h>
#include <misc/debug.h>
#include <misc/mutex.h>
#include <pthread.h>

Go to the source code of this file.

Classes

struct  txc_hash_table_bucket_s
struct  txc_hash_table_bucket_list_s
struct  txc_hash_table_s

Typedefs

typedef txc_hash_table_bucket_list_s txc_hash_table_bucket_list_t

Functions

txc_result_t txc_hash_table_create (txc_hash_table_t **hp, unsigned int table_size, txc_bool_t mtsafe)
txc_result_t txc_hash_table_destroy (txc_hash_table_t **hp)
txc_result_t txc_hash_table_add (txc_hash_table_t *h, txc_hash_table_key_t key, txc_hash_table_value_t value)
txc_result_t txc_hash_table_lookup (txc_hash_table_t *h, txc_hash_table_key_t key, txc_hash_table_value_t *value)
txc_result_t txc_hash_table_remove (txc_hash_table_t *h, txc_hash_table_key_t key, txc_hash_table_value_t *value)
void txc_hash_table_iter_init (txc_hash_table_t *hash_table, txc_hash_table_iter_t *iter)
txc_result_t txc_hash_table_iter_next (txc_hash_table_iter_t *iter, txc_hash_table_key_t *key, txc_hash_table_value_t *value)
void txc_hash_table_print (txc_hash_table_t *h)


Detailed Description

Simple bucket hash table implementation.

Definition in file hash_table.c.


Generated on Wed Dec 9 20:32:40 2009 for xCalls by  doxygen 1.4.7