Lines Matching refs:db
156 if(!ctx->db || !ctx->db_meth)
390 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_string)
396 return ctx->db_meth->get_string(ctx->db, name, section);
402 if(!ctx->db || !ctx->db_meth || !ctx->db_meth->get_section)
408 return ctx->db_meth->get_section(ctx->db, section);
416 ctx->db_meth->free_string(ctx->db, str);
423 ctx->db_meth->free_section(ctx->db, section);
426 static char *nconf_get_string(void *db, char *section, char *value)
429 return (char *) NCONF_get_string(db, section, value);
432 static STACK_OF(CONF_VALUE) *nconf_get_section(void *db, char *section)
434 return NCONF_get_section(db, section);
447 ctx->db = conf;