• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/conf/

Lines Matching refs:conf

62 #include <openssl/conf.h>
72 void CONF_set_nconf(CONF *conf, LHASH *hash)
77 default_CONF_method->init(conf);
78 conf->data = hash;
90 LHASH *CONF_load(LHASH *conf, const char *file, long *eline)
106 ltmp = CONF_load_bio(conf, in, eline);
113 LHASH *CONF_load_fp(LHASH *conf, FILE *fp,long *eline)
121 ltmp = CONF_load_bio(conf, btmp, eline);
127 LHASH *CONF_load_bio(LHASH *conf, BIO *bp,long *eline)
132 CONF_set_nconf(&ctmp, conf);
140 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH *conf,const char *section)
142 if (conf == NULL)
149 CONF_set_nconf(&ctmp, conf);
154 char *CONF_get_string(LHASH *conf,const char *group,const char *name)
156 if (conf == NULL)
163 CONF_set_nconf(&ctmp, conf);
168 long CONF_get_number(LHASH *conf,const char *group,const char *name)
173 if (conf == NULL)
180 CONF_set_nconf(&ctmp, conf);
192 void CONF_free(LHASH *conf)
195 CONF_set_nconf(&ctmp, conf);
200 int CONF_dump_fp(LHASH *conf, FILE *out)
209 ret = CONF_dump_bio(conf, btmp);
215 int CONF_dump_bio(LHASH *conf, BIO *out)
218 CONF_set_nconf(&ctmp, conf);
245 void NCONF_free(CONF *conf)
247 if (conf == NULL)
249 conf->meth->destroy(conf);
252 void NCONF_free_data(CONF *conf)
254 if (conf == NULL)
256 conf->meth->destroy_data(conf);
259 int NCONF_load(CONF *conf, const char *file, long *eline)
261 if (conf == NULL)
267 return conf->meth->load(conf, file, eline);
271 int NCONF_load_fp(CONF *conf, FILE *fp,long *eline)
280 ret = NCONF_load_bio(conf, btmp, eline);
286 int NCONF_load_bio(CONF *conf, BIO *bp,long *eline)
288 if (conf == NULL)
294 return conf->meth->load_bio(conf, bp, eline);
297 STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf,const char *section)
299 if (conf == NULL)
311 return _CONF_get_section_values(conf, section);
314 char *NCONF_get_string(const CONF *conf,const char *group,const char *name)
316 char *s = _CONF_get_string(conf, group, name);
319 if conf is NULL, let's check the value first */
322 if (conf == NULL)
334 int NCONF_get_number_e(const CONF *conf,const char *group,const char *name,
345 str = NCONF_get_string(conf,group,name);
350 for (*result = 0;conf->meth->is_number(conf, *str);)
352 *result = (*result)*10 + conf->meth->to_int(conf, *str);
360 int NCONF_dump_fp(const CONF *conf, FILE *out)
368 ret = NCONF_dump_bio(conf, btmp);
374 int NCONF_dump_bio(const CONF *conf, BIO *out)
376 if (conf == NULL)
382 return conf->meth->dump(conf, out);
388 long NCONF_get_number(CONF *conf,char *group,char *name)
393 status = NCONF_get_number_e(conf, group, name, &ret);