diff options
Diffstat (limited to 'src/lib/libcrypto/conf/conf_local.h')
-rw-r--r-- | src/lib/libcrypto/conf/conf_local.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/conf_local.h b/src/lib/libcrypto/conf/conf_local.h index dec0d3c0c1..cf5941ed50 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.1 2024/08/31 09:21:44 tb Exp $ */ | 1 | /* $OpenBSD: conf_local.h,v 1.2 2024/08/31 09:26:18 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 | * |
@@ -74,6 +74,22 @@ struct conf_method_st { | |||
74 | int (*load)(CONF *conf, const char *name, long *eline); | 74 | int (*load)(CONF *conf, const char *name, long *eline); |
75 | }; | 75 | }; |
76 | 76 | ||
77 | int CONF_module_add(const char *name, conf_init_func *ifunc, | ||
78 | conf_finish_func *ffunc); | ||
79 | |||
80 | const char *CONF_imodule_get_name(const CONF_IMODULE *md); | ||
81 | const char *CONF_imodule_get_value(const CONF_IMODULE *md); | ||
82 | void *CONF_imodule_get_usr_data(const CONF_IMODULE *md); | ||
83 | void CONF_imodule_set_usr_data(CONF_IMODULE *md, void *usr_data); | ||
84 | CONF_MODULE *CONF_imodule_get_module(const CONF_IMODULE *md); | ||
85 | unsigned long CONF_imodule_get_flags(const CONF_IMODULE *md); | ||
86 | void CONF_imodule_set_flags(CONF_IMODULE *md, unsigned long flags); | ||
87 | void *CONF_module_get_usr_data(CONF_MODULE *pmod); | ||
88 | void CONF_module_set_usr_data(CONF_MODULE *pmod, void *usr_data); | ||
89 | |||
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); | ||
92 | |||
77 | __END_HIDDEN_DECLS | 93 | __END_HIDDEN_DECLS |
78 | 94 | ||
79 | #endif /* HEADER_CONF_LOCAL_H */ | 95 | #endif /* HEADER_CONF_LOCAL_H */ |