xine-lib 1.2.11
Functions
goomsl_hash.c File Reference
#include "goomsl_hash.h"
#include <string.h>
#include <stdlib.h>

Functions

static GoomHashEntryentry_new (const char *key, HashValue value)
 
static void entry_free (GoomHashEntry *entry)
 
static void entry_put (GoomHashEntry *entry, const char *key, HashValue value)
 
static HashValueentry_get (GoomHashEntry *entry, const char *key)
 
GoomHashgoom_hash_new (void)
 
void goom_hash_free (GoomHash *_this)
 
void goom_hash_put (GoomHash *_this, const char *key, HashValue value)
 
HashValuegoom_hash_get (GoomHash *_this, const char *key)
 
void goom_hash_put_int (GoomHash *_this, const char *key, int i)
 
void goom_hash_put_float (GoomHash *_this, const char *key, float f)
 
void goom_hash_put_ptr (GoomHash *_this, const char *key, void *ptr)
 
static void _goom_hash_for_each (GoomHash *_this, GoomHashEntry *entry, GH_Func func)
 
void goom_hash_for_each (GoomHash *_this, GH_Func func)
 
int goom_hash_number_of_puts (GoomHash *_this)
 

Function Documentation

◆ _goom_hash_for_each()

static void _goom_hash_for_each ( GoomHash _this,
GoomHashEntry entry,
GH_Func  func 
)
static

◆ entry_free()

static void entry_free ( GoomHashEntry entry)
static

◆ entry_get()

static HashValue * entry_get ( GoomHashEntry entry,
const char *  key 
)
static

◆ entry_new()

static GoomHashEntry * entry_new ( const char *  key,
HashValue  value 
)
static

◆ entry_put()

static void entry_put ( GoomHashEntry entry,
const char *  key,
HashValue  value 
)
static

◆ goom_hash_for_each()

void goom_hash_for_each ( GoomHash _this,
GH_Func  func 
)

◆ goom_hash_free()

void goom_hash_free ( GoomHash _this)

◆ goom_hash_get()

HashValue * goom_hash_get ( GoomHash _this,
const char *  key 
)

◆ goom_hash_new()

GoomHash * goom_hash_new ( void  )

◆ goom_hash_number_of_puts()

int goom_hash_number_of_puts ( GoomHash _this)

◆ goom_hash_put()

void goom_hash_put ( GoomHash _this,
const char *  key,
HashValue  value 
)

◆ goom_hash_put_float()

void goom_hash_put_float ( GoomHash _this,
const char *  key,
float  f 
)

References HashValue::f, goom_hash_put(), and key.

◆ goom_hash_put_int()

void goom_hash_put_int ( GoomHash _this,
const char *  key,
int  i 
)

◆ goom_hash_put_ptr()

void goom_hash_put_ptr ( GoomHash _this,
const char *  key,
void *  ptr 
)