Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
gh.c File Reference
#include <linux/types.h>
#include <dspbridge/host_os.h>
#include <dspbridge/gh.h>

Go to the source code of this file.

Data Structures

struct  element
 
struct  gh_t_hash_tab
 

Functions

struct gh_t_hash_tabgh_create (u16 max_bucket, u16 val_size, u16(*hash)(void *, u16), bool(*match)(void *, void *), void(*delete)(void *))
 
void gh_delete (struct gh_t_hash_tab *hash_tab)
 
voidgh_find (struct gh_t_hash_tab *hash_tab, void *key)
 
voidgh_insert (struct gh_t_hash_tab *hash_tab, void *key, void *value)
 

Function Documentation

struct gh_t_hash_tab* gh_create ( u16  max_bucket,
u16  val_size,
u16(*)(void *, u16 hash,
bool(*)(void *, void *)  match,
void(*)(void *)  delete 
)
read

Definition at line 42 of file gh.c.

void gh_delete ( struct gh_t_hash_tab hash_tab)

Definition at line 74 of file gh.c.

void* gh_find ( struct gh_t_hash_tab hash_tab,
void key 
)

Definition at line 101 of file gh.c.

void* gh_insert ( struct gh_t_hash_tab hash_tab,
void key,
void value 
)

Definition at line 119 of file gh.c.