summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf/conf_local.h
diff options
context:
space:
mode:
authortb <>2024-08-31 09:29:03 +0000
committertb <>2024-08-31 09:29:03 +0000
commit21569680041274b11a0f3de31bc00bdf52ddaa11 (patch)
treeee535713d3aec36566373a30c56a3d8461ab7c5a /src/lib/libcrypto/conf/conf_local.h
parentfa06106840d12417b65b1d797ece2e162f6ca2f7 (diff)
downloadopenbsd-21569680041274b11a0f3de31bc00bdf52ddaa11.tar.gz
openbsd-21569680041274b11a0f3de31bc00bdf52ddaa11.tar.bz2
openbsd-21569680041274b11a0f3de31bc00bdf52ddaa11.zip
Retire conf_api.h and the API therein
This makes the _CONF_* layer of the conf module internal and gets rid of the entirely unused conf_api.h. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/conf/conf_local.h')
-rw-r--r--src/lib/libcrypto/conf/conf_local.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/conf_local.h b/src/lib/libcrypto/conf/conf_local.h
index cf5941ed50..c991f0629b 100644
--- a/src/lib/libcrypto/conf/conf_local.h
+++ b/src/lib/libcrypto/conf/conf_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_local.h,v 1.2 2024/08/31 09:26:18 tb Exp $ */ 1/* $OpenBSD: conf_local.h,v 1.3 2024/08/31 09:29:03 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -90,6 +90,18 @@ void CONF_module_set_usr_data(CONF_MODULE *pmod, void *usr_data);
90int CONF_parse_list(const char *list, int sep, int nospc, 90int CONF_parse_list(const char *list, int sep, int nospc,
91 int (*list_cb)(const char *elem, int len, void *usr), void *arg); 91 int (*list_cb)(const char *elem, int len, void *usr), void *arg);
92 92
93CONF_VALUE *_CONF_new_section(CONF *conf, const char *section);
94CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section);
95STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
96 const char *section);
97
98int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
99char *_CONF_get_string(const CONF *conf, const char *section,
100 const char *name);
101
102int _CONF_new_data(CONF *conf);
103void _CONF_free_data(CONF *conf);
104
93__END_HIDDEN_DECLS 105__END_HIDDEN_DECLS
94 106
95#endif /* HEADER_CONF_LOCAL_H */ 107#endif /* HEADER_CONF_LOCAL_H */