Lines Matching defs:conf

59 /* Part of the code in here was originally in conf.c, which is now removed */
69 #include <openssl/conf.h>
74 LHASH_OF(CONF_VALUE) *conf);
81 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section)
85 if ((conf == NULL) || (section == NULL)) return(NULL);
88 v=lh_CONF_VALUE_retrieve(conf->data,&vv);
93 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
98 v=_CONF_get_section(conf,section);
105 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value)
118 v = lh_CONF_VALUE_insert(conf->data, value);
129 char *_CONF_get_string(const CONF *conf, const char *section, const char *name)
135 if (conf != NULL)
141 v=lh_CONF_VALUE_retrieve(conf->data,&vv);
151 v=lh_CONF_VALUE_retrieve(conf->data,&vv);
164 long _CONF_get_number(CONF *conf, char *section, char *name)
169 str=_CONF_get_string(conf,section,name);
173 if (conf->meth->is_number(conf, *str))
174 ret=ret*10+conf->meth->to_int(conf, *str);
210 int _CONF_new_data(CONF *conf)
212 if (conf == NULL)
216 if (conf->data == NULL)
217 if ((conf->data = lh_CONF_VALUE_new()) == NULL)
224 void _CONF_free_data(CONF *conf)
226 if (conf == NULL || conf->data == NULL) return;
228 lh_CONF_VALUE_down_load(conf->data)=0; /* evil thing to make
231 lh_CONF_VALUE_doall_arg(conf->data,
233 LHASH_OF(CONF_VALUE), conf->data);
238 lh_CONF_VALUE_doall(conf->data, LHASH_DOALL_FN(value_free_stack));
239 lh_CONF_VALUE_free(conf->data);
242 static void value_free_hash_doall_arg(CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf)
245 (void)lh_CONF_VALUE_delete(conf,a);
270 CONF_VALUE *_CONF_new_section(CONF *conf, const char *section)
288 vv=lh_CONF_VALUE_insert(conf->data,v);