Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/cachedb/
H A Dcachedb.c105 testframe_init(struct module_env* env, struct cachedb_env* cachedb_env) in testframe_init()
111 cachedb_env->backend_data = (void*)d; in testframe_init()
112 if(!cachedb_env->backend_data) { in testframe_init()
131 testframe_deinit(struct module_env* env, struct cachedb_env* cachedb_env) in testframe_deinit()
134 cachedb_env->backend_data; in testframe_deinit()
146 testframe_lookup(struct module_env* env, struct cachedb_env* cachedb_env, in testframe_lookup()
150 cachedb_env in testframe_lookup()
104 testframe_init(struct module_env * env,struct cachedb_env * cachedb_env) testframe_init() argument
130 testframe_deinit(struct module_env * env,struct cachedb_env * cachedb_env) testframe_deinit() argument
145 testframe_lookup(struct module_env * env,struct cachedb_env * cachedb_env,char * key,struct sldns_buffer * result_buffer) testframe_lookup() argument
172 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)) testframe_store() argument
228 cachedb_apply_cfg(struct cachedb_env * cachedb_env,struct config_file * cfg) cachedb_apply_cfg() argument
246 struct cachedb_env* cachedb_env = (struct cachedb_env*)calloc(1, cachedb_init() local
276 struct cachedb_env* cachedb_env; cachedb_deinit() local
[all...]
H A Dredis.c103 static redisReply* redis_command(struct module_env*, struct cachedb_env*,
252 redis_init(struct module_env* env, struct cachedb_env* cachedb_env) in redis_init() argument
367 cachedb_env->backend_data = moddata; in redis_init()
373 rep = redis_command(env, cachedb_env, in redis_init()
403 redis_deinit(struct module_env* env, struct cachedb_env* cachedb_env) in redis_deinit() argument
406 cachedb_env->backend_data; in redis_deinit()
426 redis_command(struct module_env* env, struct cachedb_env* cachedb_env, in redis_command() argument
432 cachedb_env->backend_data; in redis_command()
507 redis_lookup(struct module_env* env, struct cachedb_env* cachedb_env, in redis_lookup() argument
530 rep = redis_command(env, cachedb_env, cmdbuf, NULL, 0, 0); in redis_lookup()
[all …]
H A Dcachedb.h51 struct cachedb_env { struct
77 int (*init)(struct module_env*, struct cachedb_env*);
80 void (*deinit)(struct module_env*, struct cachedb_env*);
83 int (*lookup)(struct module_env*, struct cachedb_env*, char*,
87 void (*store)(struct module_env*, struct cachedb_env*, char*,