[insert project logo here (125x200px max)]

Navigator

Mailinglists

Please report any errors or ommissions you find to our `Help' mailinglist, or post a message in the Forums.

Copyright and Licensing Information

Snap is (c) Jonathan T. Moore, 1999-2002 and licensed under the GNU General Public License (GPL).

All other parts of Splash are (c) Willem de Bruijn, 2002-2003 and licensed under the BSD Open Source License.

All sourcecode is made publicly available.

Acknowledgement

Splash and the Splash website are hosted by SourceForge.net

SourceForge.net Logo

osi-open source certified logo

Splash - Documentation

SNMP Plus a Lightweight API for SNAP Handling

Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

snap-1.1-wjdb/lib/hashtable.h File Reference

#include "list.h"

Include dependency graph for hashtable.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Data Structures

struct  hash_table_t
struct  pair_t

Functions

hash_table_tht_create (int sz, int(*cmp)(const void *, const void *), int(*hash)(void *))
void ht_insert (hash_table_t *t, void *key, void *val)
void * ht_lookup (hash_table_t *t, void *key)
void ht_remove (hash_table_t *t, void *key)
int hash_string (char *s)

Variables

int ht_errno

Function Documentation

int hash_string char *    s
 

Definition at line 25 of file snap_hashtable.c.

hash_table_t* ht_create int    sz,
int(*    cmp)(const void *, const void *),
int(*    hash)(void *)
 

Definition at line 46 of file snap_hashtable.c.

void ht_insert hash_table_t   t,
void *    key,
void *    val
 

Definition at line 78 of file snap_hashtable.c.

void* ht_lookup hash_table_t   t,
void *    key
 

Definition at line 121 of file snap_hashtable.c.

void ht_remove hash_table_t   t,
void *    key
 

Definition at line 134 of file snap_hashtable.c.


Variable Documentation

int ht_errno
 

Definition at line 24 of file hashtable.h.