Lines Matching refs:conf
20 static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf);
23 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in _CONF_get_section() argument
27 if (conf == NULL || section == NULL) in _CONF_get_section()
31 return conf->data != NULL ? lh_CONF_VALUE_retrieve(conf->data, &vv) : NULL; in _CONF_get_section()
34 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF()
39 v = _CONF_get_section(conf, section); in STACK_OF()
45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument
56 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string()
66 char *_CONF_get_string(const CONF *conf, const char *section, in _CONF_get_string() argument
74 if (conf == NULL) in _CONF_get_string()
76 if (conf->data == NULL) in _CONF_get_string()
81 v = lh_CONF_VALUE_retrieve(conf->data, &vv); in _CONF_get_string()
92 v = lh_CONF_VALUE_retrieve(conf->data, &vv); in _CONF_get_string()
120 int _CONF_new_data(CONF *conf) in _CONF_new_data() argument
122 if (conf == NULL) in _CONF_new_data()
124 if (conf->data == NULL) { in _CONF_new_data()
125 conf->data = lh_CONF_VALUE_new(conf_value_hash, conf_value_cmp); in _CONF_new_data()
126 if (conf->data == NULL) in _CONF_new_data()
136 void _CONF_free_data(CONF *conf) in _CONF_free_data() argument
138 if (conf == NULL) in _CONF_free_data()
141 OPENSSL_free(conf->includedir); in _CONF_free_data()
142 if (conf->data == NULL) in _CONF_free_data()
146 lh_CONF_VALUE_set_down_load(conf->data, 0); in _CONF_free_data()
147 lh_CONF_VALUE_doall_LH_CONF_VALUE(conf->data, value_free_hash, conf->data); in _CONF_free_data()
154 lh_CONF_VALUE_doall(conf->data, value_free_stack_doall); in _CONF_free_data()
155 lh_CONF_VALUE_free(conf->data); in _CONF_free_data()
158 static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf) in value_free_hash() argument
161 (void)lh_CONF_VALUE_delete(conf, a); in value_free_hash()
185 CONF_VALUE *_CONF_new_section(CONF *conf, const char *section) in _CONF_new_section() argument
203 vv = lh_CONF_VALUE_insert(conf->data, v); in _CONF_new_section()
204 if (vv != NULL || lh_CONF_VALUE_error(conf->data) > 0) in _CONF_new_section()