BRL-CAD
#include "common.h"
#include "bu/defines.h"
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct bu_hash_entry bu_hash_entry
 
typedef struct bu_hash_tbl bu_hash_tbl
 

Functions

bu_hash_tblbu_hash_create (unsigned long tbl_size)
 
void bu_hash_destroy (bu_hash_tbl *t)
 
void * bu_hash_get (const bu_hash_tbl *t, const uint8_t *key, size_t key_len)
 
int bu_hash_set (bu_hash_tbl *t, const uint8_t *key, size_t key_len, void *val)
 
void bu_hash_rm (bu_hash_tbl *t, const uint8_t *key, size_t key_len)
 
bu_hash_entrybu_hash_next (bu_hash_tbl *t, bu_hash_entry *p)
 
int bu_hash_key (bu_hash_entry *e, uint8_t **key, size_t *key_len)
 
void * bu_hash_value (bu_hash_entry *e, void *nval)