The err_cleanup() funtion is internal so shouldn't be exported
[openssl.git] / include / internal / conf.h
1 /*
2  * Copyright (c) 2014 The OpenSSL Project.  All rights reserved.
3  *
4  * Redistribution and use in source and binary forms, with or without
5  * modification, are permitted provided that the following conditions
6  * are met:
7  * 1. Redistributions of source code must retain the copyright
8  *    notice, this list of conditions and the following disclaimer.
9  * 2. Redistributions in binary form must reproduce the above copyright
10  *    notice, this list of conditions and the following disclaimer in the
11  *    documentation and/or other materials provided with the distribution.
12  * 3. All advertising materials mentioning features or use of this software
13  *    must display the following acknowledgement:
14  *    "This product includes cryptographic software written by
15  *     Eric Young (eay@cryptsoft.com)"
16  *    The word 'cryptographic' can be left out if the rouines from the library
17  *    being used are not cryptographic related :-).
18  * 4. If you include any Windows specific code (or a derivative thereof) from
19  *    the apps directory (application code) you must include an acknowledgement:
20  *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
21  *
22  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
23  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
26  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32  * SUCH DAMAGE.
33  *
34  * The licence and distribution terms for any publically available version or
35  * derivative of this code cannot be changed.  i.e. this code cannot simply be
36  * copied and put under another distribution licence
37  * [including the GNU Public Licence.]
38  */
39
40 #ifndef HEADER_INTERNAL_CONF_H
41 # define HEADER_INTERNAL_CONF_H
42
43 #include <openssl/conf.h>
44
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49
50 struct ossl_init_settings_st {
51     char *config_name;
52 };
53
54 void openssl_config_int(const char *config_name);
55 void openssl_no_config_int(void);
56 void conf_modules_free_int(void);
57
58 #ifdef __cplusplus
59 }
60 #endif
61
62 #endif