Lines Matching refs:conf

26 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash)  in CONF_set_nconf()  argument
31 default_CONF_method->init(conf); in CONF_set_nconf()
32 conf->data = hash; in CONF_set_nconf()
46 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF()
62 ltmp = CONF_load_bio(conf, in, eline); in LHASH_OF()
69 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF()
78 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF()
84 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF()
90 CONF_set_nconf(&ctmp, conf); in LHASH_OF()
98 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF()
101 if (conf == NULL) { in STACK_OF()
106 CONF_set_nconf(&ctmp, conf); in STACK_OF()
111 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group, in CONF_get_string() argument
114 if (conf == NULL) { in CONF_get_string()
119 CONF_set_nconf(&ctmp, conf); in CONF_get_string()
124 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group, in CONF_get_number() argument
131 if (conf == NULL) { in CONF_get_number()
136 CONF_set_nconf(&ctmp, conf); in CONF_get_number()
143 void CONF_free(LHASH_OF(CONF_VALUE) *conf) in CONF_free() argument
146 CONF_set_nconf(&ctmp, conf); in CONF_free()
151 int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out) in CONF_dump_fp() argument
160 ret = CONF_dump_bio(conf, btmp); in CONF_dump_fp()
166 int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out) in CONF_dump_bio() argument
170 CONF_set_nconf(&ctmp, conf); in CONF_dump_bio()
204 void NCONF_free(CONF *conf) in NCONF_free() argument
206 if (conf == NULL) in NCONF_free()
208 conf->meth->destroy(conf); in NCONF_free()
211 void NCONF_free_data(CONF *conf) in NCONF_free_data() argument
213 if (conf == NULL) in NCONF_free_data()
215 conf->meth->destroy_data(conf); in NCONF_free_data()
218 OSSL_LIB_CTX *NCONF_get0_libctx(const CONF *conf) in NCONF_get0_libctx() argument
220 return conf->libctx; in NCONF_get0_libctx()
250 int NCONF_load(CONF *conf, const char *file, long *eline) in NCONF_load() argument
252 if (conf == NULL) { in NCONF_load()
257 return conf->meth->load(conf, file, eline); in NCONF_load()
261 int NCONF_load_fp(CONF *conf, FILE *fp, long *eline) in NCONF_load_fp() argument
269 ret = NCONF_load_bio(conf, btmp, eline); in NCONF_load_fp()
275 int NCONF_load_bio(CONF *conf, BIO *bp, long *eline) in NCONF_load_bio() argument
277 if (conf == NULL) { in NCONF_load_bio()
282 return conf->meth->load_bio(conf, bp, eline); in NCONF_load_bio()
285 STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section) in STACK_OF()
287 if (conf == NULL) { in STACK_OF()
297 return _CONF_get_section_values(conf, section); in STACK_OF()
300 char *NCONF_get_string(const CONF *conf, const char *group, const char *name) in NCONF_get_string() argument
302 char *s = _CONF_get_string(conf, group, name); in NCONF_get_string()
311 if (conf == NULL) { in NCONF_get_string()
320 static int default_is_number(const CONF *conf, char c) in default_is_number() argument
325 static int default_to_int(const CONF *conf, char c) in default_to_int() argument
330 int NCONF_get_number_e(const CONF *conf, const char *group, const char *name, in NCONF_get_number_e() argument
343 str = NCONF_get_string(conf, group, name); in NCONF_get_number_e()
348 if (conf != NULL) { in NCONF_get_number_e()
349 if (conf->meth->is_number != NULL) in NCONF_get_number_e()
350 is_number = conf->meth->is_number; in NCONF_get_number_e()
351 if (conf->meth->to_int != NULL) in NCONF_get_number_e()
352 to_int = conf->meth->to_int; in NCONF_get_number_e()
354 for (res = 0; is_number(conf, *str); str++) { in NCONF_get_number_e()
355 const int d = to_int(conf, *str); in NCONF_get_number_e()
368 long _CONF_get_number(const CONF *conf, const char *section, in _CONF_get_number() argument
375 status = NCONF_get_number_e(conf, section, name, &result); in _CONF_get_number()
381 int NCONF_dump_fp(const CONF *conf, FILE *out) in NCONF_dump_fp() argument
389 ret = NCONF_dump_bio(conf, btmp); in NCONF_dump_fp()
395 int NCONF_dump_bio(const CONF *conf, BIO *out) in NCONF_dump_bio() argument
397 if (conf == NULL) { in NCONF_dump_bio()
402 return conf->meth->dump(conf, out); in NCONF_dump_bio()