|
unbound 0.1
|
Backend call routines. More...
#include <cachedb.h>
Data Fields | |
| const char * | name |
| backend name | |
| int(* | init )(struct module_env *, struct cachedb_env *) |
| Init(env, cachedb_env): false on setup failure. | |
| void(* | deinit )(struct module_env *, struct cachedb_env *) |
| Deinit - close db for program exit. | |
| int(* | lookup )(struct module_env *, struct cachedb_env *, char *, struct sldns_buffer *) |
| Lookup (env, cachedb_env, key, result_buffer): true if found. | |
| void(* | store )(struct module_env *, struct cachedb_env *, char *, uint8_t *, size_t, time_t) |
| Store (env, cachedb_env, key, data, data_len) | |
Backend call routines.