dict-private.h revision d694b6009574ee6e3cfaee3834cbdbcd431affb0
#ifndef DICT_PRIVATE_H
#define DICT_PRIVATE_H
#include "dict.h"
struct dict_vfuncs {
const struct dict_settings *set,
struct dict_iterate_context *
enum dict_iterate_flags flags);
bool async,
void *context);
const char *key);
};
struct dict {
const char *name;
struct dict_vfuncs v;
};
struct dict_iterate_context {
void *async_context;
unsigned int has_more:1;
};
struct dict_transaction_context {
unsigned int changed:1;
};
extern struct dict dict_driver_client;
extern struct dict dict_driver_file;
extern struct dict dict_driver_fs;
extern struct dict dict_driver_memcached;
extern struct dict dict_driver_memcached_ascii;
extern struct dict dict_driver_redis;
extern struct dict dict_driver_cdb;
#endif