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

Hash Map Wrapper
[SB Library]

HashMap wrapper Hash Map. More...

Data Structures

struct  HASHMAPELEMENT_
 main hash map element structure More...
struct  HASHMAP_
 main hash map structure More...

Defines

#define DEFAULT_BUCKETS   1021
 hash table bucket define

Functions

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

Detailed Description

HashMap wrapper Hash Map.

Author:
Stefan Bambach (sbambach@gmx.net)
Version:
0.1

Function Documentation

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

Create new HashMap object.

Call the destroy() method to remove hashmap

Parameters:
bucket Number of buckets, that this hashmap will use
cb_free_element 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 Wed Mar 30 13:43:27 2005 for Mntd by  doxygen 1.3.9.1