Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

Hash Map Wrapper

HashMap wrapper Hash Map. More...

Data Structures

struct  HASHMAP_
 main hash map structure More...

struct  HASHMAPELEMENT_
 main hash map element structure More...


Defines

#define DEFAULT_BUCKETS   1021
 hash table bucket define


Functions

PHASHMAP new_HashMap (unsigned int bucket, void(*func_free)(void *obj))
 Create new HashMap object.


Detailed Description

HashMap wrapper Hash Map.

Author:
Stefan Bambach (stefan@bambach.biz)
Version:
0.1

Function Documentation

PHASHMAP new_HashMap unsigned int  bucket,
void(*  func_free)(void *obj)
 

Create new HashMap object.

Call the destroy() method to remove hashmap

Parameters:
bucket Number of buckets, that this hashmap will use
func_free Pointer to callback function, that will be called each time an element will be removed
Returns:
Pointer to HashMap object, NULL if error

Referenced by new_VolumeManager().


Generated on Thu May 27 23:27:29 2004 for Mntd by doxygen 1.3.5