#include "lib.h"
Data Fields | |
| const char * | name |
| Store name. | |
| StoreHandle *(* | open )(const char *path, bool create) |
| void *(* | fetch )(StoreHandle *store, const char *key, size_t klen, size_t *vlen) |
| void(* | free )(StoreHandle *store, void **ptr) |
| int(* | store )(StoreHandle *store, const char *key, size_t klen, void *value, size_t vlen) |
| int(* | delete_record )(StoreHandle *store, const char *key, size_t klen) |
| void(* | close )(StoreHandle **ptr) |
| const char *(* | version )(void) |
| StoreHandle *(* StoreOps::open) (const char *path, bool create) |
| void *(* StoreOps::fetch) (StoreHandle *store, const char *key, size_t klen, size_t *vlen) |
| void(* StoreOps::free) (StoreHandle *store, void **ptr) |
| int(* StoreOps::store) (StoreHandle *store, const char *key, size_t klen, void *value, size_t vlen) |
| int(* StoreOps::delete_record) (StoreHandle *store, const char *key, size_t klen) |
| void(* StoreOps::close) (StoreHandle **ptr) |