Coda Distributed File System
|
#include <stdlib.h>
#include <odytypes.h>
#include "ds_list.h"
#include "ds_hash.h"
#include "ds_hash.private.h"
Macros | |
#define | DS_HASH_DEBUG 0 |
Functions | |
bool | ds_hash_valid (ds_hash_t *t) |
int | ds_hash_count (ds_hash_t *t) |
void * | ds_hash_first (ds_hash_t *t, void *e) |
void * | ds_hash_last (ds_hash_t *t, void *e) |
void * | ds_hash_member (ds_hash_t *t, void *e) |
ds_hash_t * | ds_hash_create (COMPFN c, HFN h, int nbuckets, bool safe_destroy, bool dups_ok) |
void | ds_hash_destroy (ds_hash_t *t) |
void * | ds_hash_insert (ds_hash_t *t, void *e) |
void * | ds_hash_append (ds_hash_t *t, void *e) |
void * | ds_hash_get_first (ds_hash_t *t, void *e) |
void * | ds_hash_get_last (ds_hash_t *t, void *e) |
void * | ds_hash_remove (ds_hash_t *t, void *e) |
void | ds_hash_print (ds_hash_t *t, void(*printer)(void *)) |
ds_hash_iter_t * | ds_hash_iter_create (ds_hash_t *t) |
void | ds_hash_iter_destroy (ds_hash_iter_t *i) |
void * | ds_hash_iter_next (ds_hash_iter_t *i) |
Variables | |
const magic_t | ds_hash_magic = 214795600 |
const magic_t | ds_hash_iter_magic = 1144657940 |
#define DS_HASH_DEBUG 0 |
void * ds_hash_append | ( | ds_hash_t * | t, |
void * | e | ||
) |
int ds_hash_count | ( | ds_hash_t * | t | ) |
void ds_hash_destroy | ( | ds_hash_t * | t | ) |
void * ds_hash_first | ( | ds_hash_t * | t, |
void * | e | ||
) |
void * ds_hash_get_first | ( | ds_hash_t * | t, |
void * | e | ||
) |
void * ds_hash_get_last | ( | ds_hash_t * | t, |
void * | e | ||
) |
void * ds_hash_insert | ( | ds_hash_t * | t, |
void * | e | ||
) |
ds_hash_iter_t * ds_hash_iter_create | ( | ds_hash_t * | t | ) |
void ds_hash_iter_destroy | ( | ds_hash_iter_t * | i | ) |
void * ds_hash_iter_next | ( | ds_hash_iter_t * | i | ) |
void * ds_hash_last | ( | ds_hash_t * | t, |
void * | e | ||
) |
void * ds_hash_member | ( | ds_hash_t * | t, |
void * | e | ||
) |
void ds_hash_print | ( | ds_hash_t * | t, |
void(*)(void *) | printer | ||
) |
void * ds_hash_remove | ( | ds_hash_t * | t, |
void * | e | ||
) |
const magic_t ds_hash_iter_magic = 1144657940 |
const magic_t ds_hash_magic = 214795600 |