Fix header file include guard names
[openssl.git] / include / internal / dsoerr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the Apache License 2.0 (the "License").  You may not use
6  * this file except in compliance with the License.  You can obtain a copy
7  * in the file LICENSE in the source distribution or at
8  * https://www.openssl.org/source/license.html
9  */
10
11 #ifndef OSSL_INTERNAL_DSOERR_H
12 # define OSSL_INTERNAL_DSOERR_H
13
14 # include <openssl/opensslconf.h>
15 # include <openssl/symhacks.h>
16
17
18 # ifdef  __cplusplus
19 extern "C"
20 # endif
21 int ERR_load_DSO_strings(void);
22
23 /*
24  * DSO function codes.
25  */
26 # if !OPENSSL_API_3
27 #  define DSO_F_DLFCN_BIND_FUNC                            0
28 #  define DSO_F_DLFCN_LOAD                                 0
29 #  define DSO_F_DLFCN_MERGER                               0
30 #  define DSO_F_DLFCN_NAME_CONVERTER                       0
31 #  define DSO_F_DLFCN_UNLOAD                               0
32 #  define DSO_F_DL_BIND_FUNC                               0
33 #  define DSO_F_DL_LOAD                                    0
34 #  define DSO_F_DL_MERGER                                  0
35 #  define DSO_F_DL_NAME_CONVERTER                          0
36 #  define DSO_F_DL_UNLOAD                                  0
37 #  define DSO_F_DSO_BIND_FUNC                              0
38 #  define DSO_F_DSO_CONVERT_FILENAME                       0
39 #  define DSO_F_DSO_CTRL                                   0
40 #  define DSO_F_DSO_FREE                                   0
41 #  define DSO_F_DSO_GET_FILENAME                           0
42 #  define DSO_F_DSO_GLOBAL_LOOKUP                          0
43 #  define DSO_F_DSO_LOAD                                   0
44 #  define DSO_F_DSO_MERGE                                  0
45 #  define DSO_F_DSO_NEW_METHOD                             0
46 #  define DSO_F_DSO_PATHBYADDR                             0
47 #  define DSO_F_DSO_SET_FILENAME                           0
48 #  define DSO_F_DSO_UP_REF                                 0
49 #  define DSO_F_VMS_BIND_SYM                               0
50 #  define DSO_F_VMS_LOAD                                   0
51 #  define DSO_F_VMS_MERGER                                 0
52 #  define DSO_F_VMS_UNLOAD                                 0
53 #  define DSO_F_WIN32_BIND_FUNC                            0
54 #  define DSO_F_WIN32_GLOBALLOOKUP                         0
55 #  define DSO_F_WIN32_JOINER                               0
56 #  define DSO_F_WIN32_LOAD                                 0
57 #  define DSO_F_WIN32_MERGER                               0
58 #  define DSO_F_WIN32_NAME_CONVERTER                       0
59 #  define DSO_F_WIN32_PATHBYADDR                           0
60 #  define DSO_F_WIN32_SPLITTER                             0
61 #  define DSO_F_WIN32_UNLOAD                               0
62 # endif
63
64 /*
65  * DSO reason codes.
66  */
67 # define DSO_R_CTRL_FAILED                                100
68 # define DSO_R_DSO_ALREADY_LOADED                         110
69 # define DSO_R_EMPTY_FILE_STRUCTURE                       113
70 # define DSO_R_FAILURE                                    114
71 # define DSO_R_FILENAME_TOO_BIG                           101
72 # define DSO_R_FINISH_FAILED                              102
73 # define DSO_R_INCORRECT_FILE_SYNTAX                      115
74 # define DSO_R_LOAD_FAILED                                103
75 # define DSO_R_NAME_TRANSLATION_FAILED                    109
76 # define DSO_R_NO_FILENAME                                111
77 # define DSO_R_NULL_HANDLE                                104
78 # define DSO_R_SET_FILENAME_FAILED                        112
79 # define DSO_R_STACK_ERROR                                105
80 # define DSO_R_SYM_FAILURE                                106
81 # define DSO_R_UNLOAD_FAILED                              107
82 # define DSO_R_UNSUPPORTED                                108
83
84 #endif