CLD
0.1git
|
#include <glib.h>
#include <stdbool.h>
Data Structures | |
struct | objcache |
struct | objcache_entry |
Macros | |
#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 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) |
#define OC_F_DIRTY 0x1 |
|
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 | ||
) |