Searched refs:cachedb_env (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/external/bsd/unbound/dist/cachedb/
H A Dcachedb.h50 struct cachedb_env { struct
75 /** Init(env, cachedb_env): false on setup failure */
76 int (*init)(struct module_env*, struct cachedb_env*);
79 void (*deinit)(struct module_env*, struct cachedb_env*);
81 /** Lookup (env, cachedb_env, key, result_buffer): true if found */
82 int (*lookup)(struct module_env*, struct cachedb_env*, char*,
85 /** Store (env, cachedb_env, key, data, data_len) */
86 void (*store)(struct module_env*, struct cachedb_env*, char*,
H A Dredis.c65 static redisReply* redis_command(struct module_env*, struct cachedb_env*,
138 redis_init(struct module_env* env, struct cachedb_env* cachedb_env) argument
173 cachedb_env->backend_data = moddata;
178 rep = redis_command(env, cachedb_env,
208 redis_deinit(struct module_env* env, struct cachedb_env* cachedb_env) argument
211 cachedb_env->backend_data;
231 redis_command(struct module_env* env, struct cachedb_env* cachedb_env, argument
279 redis_lookup(struct module_env* env, struct cachedb_env* cachedb_env, char* key, struct sldns_buffer* result_buffer) argument
327 redis_store(struct module_env* env, struct cachedb_env* cachedb_env, char* key, uint8_t* data, size_t data_len, time_t ttl) argument
[all...]
H A Dcachedb.c102 testframe_init(struct module_env* env, struct cachedb_env* cachedb_env) argument
108 cachedb_env->backend_data = (void*)d;
109 if(!cachedb_env->backend_data) {
128 testframe_deinit(struct module_env* env, struct cachedb_env* cachedb_env) argument
131 cachedb_env->backend_data;
143 testframe_lookup(struct module_env* env, struct cachedb_env* cachedb_env, argument
147 cachedb_env
170 testframe_store(struct module_env* env, struct cachedb_env* cachedb_env, char* key, uint8_t* data, size_t data_len, time_t ATTR_UNUSED(ttl)) argument
226 cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg) argument
244 struct cachedb_env* cachedb_env = (struct cachedb_env*)calloc(1, local
283 struct cachedb_env* cachedb_env; local
[all...]

Completed in 192 milliseconds