usermode/library/common/chhash.h File Reference

Simple bucket hash table interface. More...

#include "mtypes.h"
#include "result.h"

Go to the source code of this file.

Classes

struct  m_chhash_iter_s

Defines

#define HASH_FACTOR   4

Typedefs

typedef m_chhash_s m_chhash_t
typedef m_chhash_iter_s m_chhash_iter_t
typedef uintptr_t m_chhash_key_t
typedef void * m_chhash_value_t
typedef m_chhash_bucket_s m_chhash_bucket_t

Functions

m_result_t m_chhash_create (m_chhash_t **, unsigned int, bool)
m_result_t m_chhash_destroy (m_chhash_t **)
m_result_t m_chhash_add (m_chhash_t *, m_chhash_key_t, m_chhash_value_t)
m_result_t m_chhash_lookup (m_chhash_t *, m_chhash_key_t, m_chhash_value_t *)
m_result_t m_chhash_remove (m_chhash_t *, m_chhash_key_t, m_chhash_value_t *)
void m_chhash_iter_init (m_chhash_t *chhash, m_chhash_iter_t *iter)
m_result_t m_chhash_iter_next (m_chhash_iter_t *iter, m_chhash_key_t *key, m_chhash_value_t *value)
void m_chhash_print (m_chhash_t *)


Detailed Description

Simple bucket hash table interface.

Definition in file chhash.h.


Generated on Sat Apr 23 11:43:36 2011 for Mnemosyne by  doxygen 1.4.7