unbound: cachedb_backend Struct Reference

unbound 0.1

Data Fields
cachedb_backend Struct Reference

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)

## Detailed Description

Backend call routines.

The documentation for this struct was generated from the following file:

- cachedb/cachedb.h