Lines Matching defs:db
75 static char *conf_lhash_get_string(void *db, char *section, char *value);
76 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section);
154 if (!ctx->db || !ctx->db_meth) {
393 if (!ctx->db || !ctx->db_meth || !ctx->db_meth->get_string) {
398 return ctx->db_meth->get_string(ctx->db, name, section);
404 if (!ctx->db || !ctx->db_meth || !ctx->db_meth->get_section) {
410 return ctx->db_meth->get_section(ctx->db, section);
419 ctx->db_meth->free_string(ctx->db, str);
427 ctx->db_meth->free_section(ctx->db, section);
430 static char *nconf_get_string(void *db, char *section, char *value)
432 return NCONF_get_string(db, section, value);
435 static STACK_OF(CONF_VALUE) *nconf_get_section(void *db, char *section)
437 return NCONF_get_section(db, section);
450 ctx->db = conf;
483 static char *conf_lhash_get_string(void *db, char *section, char *value)
485 return CONF_get_string(db, section, value);
488 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section)
490 return CONF_get_section(db, section);
503 ctx->db = lhash;