#ifndef DICT_PRIVATE_H
#define DICT_PRIVATE_H
#include <time.h>
#include "dict.h"
struct dict_vfuncs {
const struct dict_settings *set,
const char **error_r);
struct dict_iterate_context *
enum dict_iterate_flags flags);
const char **error_r);
/* call the callback before returning if non-async commits */
bool async,
void *context);
const char *key);
};
struct dict {
const char *name;
struct dict_vfuncs v;
unsigned int iter_count;
unsigned int transaction_count;
};
struct dict_iterate_context {
void *async_context;
};
struct dict_transaction_context {
};
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;
extern struct dict dict_driver_fail;
extern struct dict_iterate_context dict_iter_unsupported;
extern struct dict_transaction_context dict_transaction_unsupported;
#endif