Lines Matching defs:db_argv
134 char **db_argv;
167 cache->db_argc, cache->db_argv, db));
173 const char *db_type, unsigned int db_argc, char **db_argv,
177 db_type, db_argc, db_argv, cachep));
184 unsigned int db_argc, char **db_argv, dns_cache_t **cachep)
187 cachename, db_type, db_argc, db_argv,
195 unsigned int db_argc, char **db_argv, dns_cache_t **cachep)
251 * via cache->db_argv, followed by the rest of the arguments in
252 * db_argv (of which there really shouldn't be any).
258 cache->db_argv = NULL;
261 cache->db_argv = isc_mem_get(cmctx,
263 if (cache->db_argv == NULL) {
269 cache->db_argv[i] = NULL;
271 cache->db_argv[0] = (char *) hmctx;
273 cache->db_argv[i] = isc_mem_strdup(cmctx,
274 db_argv[i - extra]);
275 if (cache->db_argv[i] == NULL) {
329 if (cache->db_argv[i] != NULL)
330 isc_mem_free(cmctx, cache->db_argv[i]);
331 if (cache->db_argv != NULL)
332 isc_mem_put(cmctx, cache->db_argv,
381 if (cache->db_argv != NULL) {
383 * We don't free db_argv[0] in "rbt" cache databases
390 if (cache->db_argv[i] != NULL)
391 isc_mem_free(cache->mctx, cache->db_argv[i]);
392 isc_mem_put(cache->mctx, cache->db_argv,