Searched refs:cachedb_env (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/contrib/unbound/cachedb/ |
H A D | cachedb.h | 50 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 D | cachedb.c | 102 testframe_init(struct module_env* env, struct cachedb_env* cachedb_env) argument 109 cachedb_env->backend_data = (void*)d; 110 if(!cachedb_env->backend_data) { 120 testframe_deinit(struct module_env* env, struct cachedb_env* cachedb_env) argument 123 cachedb_env->backend_data; 135 testframe_lookup(struct module_env* env, struct cachedb_env* cachedb_env, argument 139 cachedb_env 162 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 218 cachedb_apply_cfg(struct cachedb_env* cachedb_env, struct config_file* cfg) argument 234 struct cachedb_env* cachedb_env = (struct cachedb_env*)calloc(1, local 273 struct cachedb_env* cachedb_env; local [all...] |
H A D | redis.c | 62 static redisReply* redis_command(struct module_env*, struct cachedb_env*, 92 redis_init(struct module_env* env, struct cachedb_env* cachedb_env) argument 119 cachedb_env->backend_data = moddata; 124 rep = redis_command(env, cachedb_env, 151 redis_deinit(struct module_env* env, struct cachedb_env* cachedb_env) argument 154 cachedb_env->backend_data; 185 redis_command(struct module_env* env, struct cachedb_env* cachedb_env, argument 233 redis_lookup(struct module_env* env, struct cachedb_env* cachedb_env, char* key, struct sldns_buffer* result_buffer) argument 281 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...] |
Completed in 122 milliseconds