include/objcache.h File Reference

#include <glib.h>
#include <stdbool.h>

Data Structures

struct  objcache
struct  objcache_entry

Defines

#define OC_F_DIRTY   0x1
#define objcache_get(c, k, l)   __objcache_get(c, k, l, 0)
#define objcache_get_dirty(c, k, l)   __objcache_get(c, k, l, OC_F_DIRTY)

Functions

struct objcache_entry__objcache_get (struct objcache *cache, const char *key, int klen, unsigned int flag)
bool objcache_test_dirty (struct objcache *cache, struct objcache_entry *entry)
void objcache_put (struct objcache *cache, struct objcache_entry *entry)
int objcache_count (struct objcache *cache)
int objcache_init (struct objcache *cache)
void objcache_fini (struct objcache *cache)

Define Documentation

#define objcache_get ( c,
k,
 )     __objcache_get(c, k, l, 0)
#define objcache_get_dirty ( c,
k,
 )     __objcache_get(c, k, l, OC_F_DIRTY)
#define OC_F_DIRTY   0x1

Function Documentation

struct objcache_entry* __objcache_get ( struct objcache cache,
const char *  key,
int  klen,
unsigned int  flag 
) [read]
int objcache_count ( struct objcache cache  ) 
void objcache_fini ( struct objcache cache  ) 
int objcache_init ( struct objcache cache  ) 
void objcache_put ( struct objcache cache,
struct objcache_entry entry 
)
bool objcache_test_dirty ( struct objcache cache,
struct objcache_entry entry 
)

Generated on 23 Aug 2010 for CLD by  doxygen 1.6.1