Functions
htable.c File Reference
#include <GKlib.h>
Include dependency graph for htable.c:

Go to the source code of this file.

Functions

gk_HTable_tHTable_Create (int nelements)
 
void HTable_Delete (gk_HTable_t *htable, int key)
 
void HTable_Destroy (gk_HTable_t *htable)
 
int HTable_GetNext (gk_HTable_t *htable, int key, int *r_val, int type)
 
int HTable_HFunction (int nelements, int key)
 
void HTable_Insert (gk_HTable_t *htable, int key, int val)
 
void HTable_Reset (gk_HTable_t *htable)
 
void HTable_Resize (gk_HTable_t *htable, int nelements)
 
int HTable_Search (gk_HTable_t *htable, int key)
 
int HTable_SearchAndDelete (gk_HTable_t *htable, int key)
 

Function Documentation

gk_HTable_t* HTable_Create ( int  nelements)

Definition at line 16 of file htable.c.

void HTable_Delete ( gk_HTable_t htable,
int  key 
)

Definition at line 107 of file htable.c.

void HTable_Destroy ( gk_HTable_t htable)

Definition at line 235 of file htable.c.

int HTable_GetNext ( gk_HTable_t htable,
int  key,
int r_val,
int  type 
)

Definition at line 162 of file htable.c.

int HTable_HFunction ( int  nelements,
int  key 
)

Definition at line 244 of file htable.c.

void HTable_Insert ( gk_HTable_t htable,
int  key,
int  val 
)

Definition at line 74 of file htable.c.

void HTable_Reset ( gk_HTable_t htable)

Definition at line 33 of file htable.c.

void HTable_Resize ( gk_HTable_t htable,
int  nelements 
)

Definition at line 46 of file htable.c.

int HTable_Search ( gk_HTable_t htable,
int  key 
)

Definition at line 135 of file htable.c.

int HTable_SearchAndDelete ( gk_HTable_t htable,
int  key 
)

Definition at line 200 of file htable.c.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:30