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

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 |
| 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 | ) |
| static void remove_counter | ( | char * | key | ) | [static] |
| GHashTable* hash |
Definition at line 28 of file hashtable.c.
Referenced by contains(), crc32_uint(), db_key(), dbt_db_del_table(), dbt_db_get_table(), dbt_release_table(), dictionary_get(), dictionary_hash(), dictionary_set(), dictionary_unset(), ds_select_dst(), get_counter(), hash_func(), hashtable_init(), insert(), link_dlg_profile(), MD5File(), qm_find_free(), qm_insert_free(), qm_malloc(), remove_counter(), stream_node_callback(), TableFindIndex(), and update_route_data_recursor().
1.5.6