Barrelfish
Data Structures | Functions
hashtable.h File Reference

Hashtable headers. More...

Data Structures

struct  _ht_entry
 an entry of a hashtable More...
 
struct  hashtable
 hashtable More...
 

Functions

struct hashtablecreate_hashtable2 (int capacity, int loadFactor)
 create an empty hashtable with a given capacity and load factor More...
 
struct hashtablecreate_hashtable (void)
 create an empty hashtable with default capacity and load factor More...
 

Detailed Description

Hashtable headers.

Function Documentation

struct hashtable* create_hashtable ( void  )

create an empty hashtable with default capacity and load factor

Returns
an empty hashtable
struct hashtable* create_hashtable2 ( int  capacity,
int  loadFactor 
)

create an empty hashtable with a given capacity and load factor

Parameters
capacitythe capacity
theload factor
Returns
an empty hashtable.