xref: /openbsd/lib/libcrypto/hidden/openssl/conf.h (revision 96bdc4f8)
1 /* $OpenBSD: conf.h,v 1.9 2024/08/31 09:54:31 tb Exp $ */
2 /*
3  * Copyright (c) 2024 Bob Beck <beck@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBCRYPTO_CONF_H
19 #define _LIBCRYPTO_CONF_H
20 
21 #ifndef _MSC_VER
22 #include_next <openssl/conf.h>
23 #else
24 #include "../include/openssl/conf.h"
25 #endif
26 #include "crypto_namespace.h"
27 
28 LCRYPTO_USED(OPENSSL_config);
29 LCRYPTO_USED(OPENSSL_no_config);
30 LCRYPTO_USED(NCONF_new);
31 LCRYPTO_USED(NCONF_free);
32 LCRYPTO_USED(NCONF_load);
33 LCRYPTO_USED(NCONF_load_bio);
34 LCRYPTO_USED(NCONF_get_section);
35 LCRYPTO_USED(NCONF_get_string);
36 LCRYPTO_USED(NCONF_get_number_e);
37 LCRYPTO_USED(CONF_modules_load);
38 LCRYPTO_USED(CONF_modules_load_file);
39 LCRYPTO_USED(CONF_modules_unload);
40 LCRYPTO_USED(CONF_modules_finish);
41 LCRYPTO_USED(CONF_modules_free);
42 LCRYPTO_USED(CONF_get1_default_config_file);
43 LCRYPTO_USED(ERR_load_CONF_strings);
44 
45 #endif /* _LIBCRYPTO_CONF_H */
46