gcache.h File Reference

API published in:
API deprecated in:


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

Go to the source code of this file.


Typedefs

typedef typedefG_BEGIN_DECLS
struct _GCache 
GCache
typedef gpointer(*  GCacheNewFunc )(gpointer key)
typedef gpointer(*  GCacheDupFunc )(gpointer value)
typedef void(*  GCacheDestroyFunc )(gpointer value)

Functions

IMPORT_C GCache g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func)
IMPORT_C void  g_cache_destroy (GCache *cache)
IMPORT_C gpointer  g_cache_insert (GCache *cache, gpointer key)
IMPORT_C void  g_cache_remove (GCache *cache, gconstpointer value)
IMPORT_C void  g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data)
IMPORT_C void  g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data)

Typedef Documentation

typedef typedefG_BEGIN_DECLS struct _GCache GCache
 
typedef void(* GCacheDestroyFunc)(gpointer value)
 
typedef gpointer(* GCacheDupFunc)(gpointer value)
 
typedef gpointer(* GCacheNewFunc)(gpointer key)
 

Function Documentation

IMPORT_C void g_cache_destroy GCache cache  ) 
 
IMPORT_C gpointer g_cache_insert GCache cache,
gpointer  key
 
IMPORT_C void g_cache_key_foreach GCache cache,
GHFunc  func,
gpointer  user_data
 
IMPORT_C GCache* g_cache_new GCacheNewFunc  value_new_func,
GCacheDestroyFunc  value_destroy_func,
GCacheDupFunc  key_dup_func,
GCacheDestroyFunc  key_destroy_func,
GHashFunc  hash_key_func,
GHashFunc  hash_value_func,
GEqualFunc  key_equal_func
 
IMPORT_C void g_cache_remove GCache cache,
gconstpointer  value
 
IMPORT_C void g_cache_value_foreach GCache cache,
GHFunc  func,
gpointer  user_data
 

Copyright © Nokia Corporation 2001-2008
Back to top