ghash.h File Reference

API published in:
API deprecated in:


#include <_ansi.h>
#include <glib/gtypes.h>

Go to the source code of this file.


Defines

#define  g_hash_table_freeze(hash_table)   ((void)0)
#define  g_hash_table_thaw(hash_table)   ((void)0)

Typedefs

typedef typedefG_BEGIN_DECLS
struct _GHashTable 
GHashTable
typedef gboolean(*  GHRFunc )(gpointer key, gpointer value, gpointer user_data)

Functions

IMPORT_C GHashTable g_hash_table_new (GHashFunc hash_func, GEqualFunc key_equal_func)
IMPORT_C GHashTable g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func)
IMPORT_C void  g_hash_table_destroy (GHashTable *hash_table)
IMPORT_C void  g_hash_table_insert (GHashTable *hash_table, gpointer key, gpointer value)
IMPORT_C void  g_hash_table_replace (GHashTable *hash_table, gpointer key, gpointer value)
IMPORT_C gboolean  g_hash_table_remove (GHashTable *hash_table, gconstpointer key)
IMPORT_C gboolean  g_hash_table_steal (GHashTable *hash_table, gconstpointer key)
IMPORT_C gpointer  g_hash_table_lookup (GHashTable *hash_table, gconstpointer key)
IMPORT_C gboolean  g_hash_table_lookup_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *orig_key, gpointer *value)
IMPORT_C void  g_hash_table_foreach (GHashTable *hash_table, GHFunc func, gpointer user_data)
IMPORT_C gpointer  g_hash_table_find (GHashTable *hash_table, GHRFunc predicate, gpointer user_data)
IMPORT_C guint  g_hash_table_foreach_remove (GHashTable *hash_table, GHRFunc func, gpointer user_data)
IMPORT_C guint  g_hash_table_foreach_steal (GHashTable *hash_table, GHRFunc func, gpointer user_data)
IMPORT_C guint  g_hash_table_size (GHashTable *hash_table)
IMPORT_C GHashTable g_hash_table_ref (GHashTable *hash_table)
IMPORT_C void  g_hash_table_unref (GHashTable *hash_table)
IMPORT_C gboolean  g_str_equal (gconstpointer v1, gconstpointer v2)
IMPORT_C guint  g_str_hash (gconstpointer v)
IMPORT_C gboolean  g_int_equal (gconstpointer v1, gconstpointer v2)
IMPORT_C guint  g_int_hash (gconstpointer v)
IMPORT_C guint  g_direct_hash (gconstpointer v) G_GNUC_CONST
IMPORT_C gboolean  g_direct_equal (gconstpointer v1, gconstpointer v2) G_GNUC_CONST

Define Documentation

#define g_hash_table_freeze hash_table   )     ((void)0)
 
#define g_hash_table_thaw hash_table   )     ((void)0)
 

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GHashTable GHashTable
 
typedef gboolean(* GHRFunc)(gpointer key, gpointer value, gpointer user_data)
 

Function Documentation

IMPORT_C gboolean g_direct_equal gconstpointer  v1,
gconstpointer  v2
 
IMPORT_C guint g_direct_hash gconstpointer  v  ) 
 
IMPORT_C void g_hash_table_destroy GHashTable hash_table  ) 
 
IMPORT_C gpointer g_hash_table_find GHashTable hash_table,
GHRFunc  predicate,
gpointer  user_data
 
IMPORT_C void g_hash_table_foreach GHashTable hash_table,
GHFunc  func,
gpointer  user_data
 
IMPORT_C guint g_hash_table_foreach_remove GHashTable hash_table,
GHRFunc  func,
gpointer  user_data
 
IMPORT_C guint g_hash_table_foreach_steal GHashTable hash_table,
GHRFunc  func,
gpointer  user_data
 
IMPORT_C void g_hash_table_insert GHashTable hash_table,
gpointer  key,
gpointer  value
 
IMPORT_C gpointer g_hash_table_lookup GHashTable hash_table,
gconstpointer  key
 
IMPORT_C gboolean g_hash_table_lookup_extended GHashTable hash_table,
gconstpointer  lookup_key,
gpointer orig_key,
gpointer value
 
IMPORT_C GHashTable* g_hash_table_new GHashFunc  hash_func,
GEqualFunc  key_equal_func
 
IMPORT_C GHashTable* g_hash_table_new_full GHashFunc  hash_func,
GEqualFunc  key_equal_func,
GDestroyNotify  key_destroy_func,
GDestroyNotify  value_destroy_func
 
IMPORT_C GHashTable* g_hash_table_ref GHashTable hash_table  ) 
 
IMPORT_C gboolean g_hash_table_remove GHashTable hash_table,
gconstpointer  key
 
IMPORT_C void g_hash_table_replace GHashTable hash_table,
gpointer  key,
gpointer  value
 
IMPORT_C guint g_hash_table_size GHashTable hash_table  ) 
 
IMPORT_C gboolean g_hash_table_steal GHashTable hash_table,
gconstpointer  key
 
IMPORT_C void g_hash_table_unref GHashTable hash_table  ) 
 
IMPORT_C gboolean g_int_equal gconstpointer  v1,
gconstpointer  v2
 
IMPORT_C guint g_int_hash gconstpointer  v  ) 
 
IMPORT_C gboolean g_str_equal gconstpointer  v1,
gconstpointer  v2
 
IMPORT_C guint g_str_hash gconstpointer  v  ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top