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

◆ HTable_Create()

gk_HTable_t* HTable_Create ( int  nelements)

Definition at line 16 of file htable.c.

◆ HTable_Delete()

void HTable_Delete ( gk_HTable_t htable,
int  key 
)

Definition at line 107 of file htable.c.

◆ HTable_Destroy()

void HTable_Destroy ( gk_HTable_t htable)

Definition at line 235 of file htable.c.

◆ HTable_GetNext()

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

Definition at line 162 of file htable.c.

◆ HTable_HFunction()

int HTable_HFunction ( int  nelements,
int  key 
)

Definition at line 244 of file htable.c.

◆ HTable_Insert()

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

Definition at line 74 of file htable.c.

◆ HTable_Reset()

void HTable_Reset ( gk_HTable_t htable)

Definition at line 33 of file htable.c.

◆ HTable_Resize()

void HTable_Resize ( gk_HTable_t htable,
int  nelements 
)

Definition at line 46 of file htable.c.

◆ HTable_Search()

int HTable_Search ( gk_HTable_t htable,
int  key 
)

Definition at line 135 of file htable.c.

◆ HTable_SearchAndDelete()

int HTable_SearchAndDelete ( gk_HTable_t htable,
int  key 
)

Definition at line 200 of file htable.c.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:29