hashtable.h File Reference


Detailed Description

Simple hashtable type.

Author:
Antoine Fraboulet
Date:
1999

Definition in file hashtable.h.

Go to the source code of this file.

Typedefs

typedef _Hash_tableHash_table

Functions

Hash_table hash_init (unsigned int)
int hash_destroy (Hash_table)
int hash_size (Hash_table)
void * hash_find (Hash_table, void *key, unsigned keysize)
int hash_add (Hash_table, void *key, unsigned keysize, void *value, unsigned valuesize)


Typedef Documentation

typedef struct _Hash_table* Hash_table
 

Definition at line 34 of file hashtable.h.


Function Documentation

int hash_add Hash_table  ,
void *  key,
unsigned  keysize,
void *  value,
unsigned  valuesize
 

int hash_destroy Hash_table   ) 
 

Definition at line 73 of file hashtable.c.

References hash_rec_free(), _Hash_table::nodes, and _Hash_table::size.

Referenced by main().

void* hash_find Hash_table  ,
void *  key,
unsigned  keysize
 

Hash_table hash_init unsigned  int  ) 
 

Definition at line 47 of file hashtable.c.

References _Hash_table::nodes, and _Hash_table::size.

Referenced by main().

int hash_size Hash_table   ) 
 


Generated on Thu Dec 29 02:01:15 2005 for Eliot by  doxygen 1.4.5