diff options
author | tb <> | 2024-08-31 09:29:03 +0000 |
---|---|---|
committer | tb <> | 2024-08-31 09:29:03 +0000 |
commit | 21569680041274b11a0f3de31bc00bdf52ddaa11 (patch) | |
tree | ee535713d3aec36566373a30c56a3d8461ab7c5a /src/lib/libcrypto/conf/conf_local.h | |
parent | fa06106840d12417b65b1d797ece2e162f6ca2f7 (diff) | |
download | openbsd-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.h | 14 |
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); | |||
90 | int CONF_parse_list(const char *list, int sep, int nospc, | 90 | int 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 | ||
93 | CONF_VALUE *_CONF_new_section(CONF *conf, const char *section); | ||
94 | CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section); | ||
95 | STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, | ||
96 | const char *section); | ||
97 | |||
98 | int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); | ||
99 | char *_CONF_get_string(const CONF *conf, const char *section, | ||
100 | const char *name); | ||
101 | |||
102 | int _CONF_new_data(CONF *conf); | ||
103 | void _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 */ |