|
Electroneum
|
#include <cachedb.h>
Public Attributes | |
| const char * | name |
| int(* | init )(struct module_env *, struct cachedb_env *) |
| void(* | deinit )(struct module_env *, struct cachedb_env *) |
| int(* | lookup )(struct module_env *, struct cachedb_env *, char *, struct sldns_buffer *) |
| void(* | store )(struct module_env *, struct cachedb_env *, char *, uint8_t *, size_t) |
| void(* cachedb_backend::deinit) (struct module_env *, struct cachedb_env *) |
| int(* cachedb_backend::init) (struct module_env *, struct cachedb_env *) |
| int(* cachedb_backend::lookup) (struct module_env *, struct cachedb_env *, char *, struct sldns_buffer *) |
Lookup (env, cachedb_env, key, result_buffer): true if found
| void(* cachedb_backend::store) (struct module_env *, struct cachedb_env *, char *, uint8_t *, size_t) |
Store (env, cachedb_env, key, data, data_len)