hashtable.c File Reference

#include <stdlib.h>
#include <glib.h>
#include "../../dprint.h"
#include "../../mem/mem.h"
#include "hashtable.h"

Include dependency graph for hashtable.c:

Go to the source code of this file.

Functions

static int * get_counter (char *key)
int hashtable_dec_counter (char *key)
int hashtable_get_counter (char *key)
int hashtable_inc_counter (char *key)
void hashtable_init (void)
static void remove_counter (char *key)

Variables

GHashTable * hash


Function Documentation

static int* get_counter ( char *  key  )  [static]

Definition at line 34 of file hashtable.c.

References hash, LM_DBG, NULL, and pkg_malloc.

Referenced by hashtable_dec_counter(), hashtable_get_counter(), and hashtable_inc_counter().

int hashtable_dec_counter ( char *  key  ) 

Definition at line 65 of file hashtable.c.

References get_counter(), LM_DBG, and remove_counter().

Referenced by pipe_handle_subscribe().

int hashtable_get_counter ( char *  key  ) 

Definition at line 53 of file hashtable.c.

References get_counter().

Referenced by buddy_signed_off(), buddy_signed_on(), and buddy_status_changed().

int hashtable_inc_counter ( char *  key  ) 

Definition at line 58 of file hashtable.c.

References get_counter(), and LM_DBG.

Referenced by pipe_handle_subscribe().

void hashtable_init ( void   ) 

Definition at line 30 of file hashtable.c.

References hash.

Referenced by miniclient_start().

static void remove_counter ( char *  key  )  [static]

Definition at line 47 of file hashtable.c.

References hash, and LM_ERR.

Referenced by hashtable_dec_counter().


Variable Documentation

GHashTable* hash


Generated on Wed May 23 06:01:04 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6