xref: /freebsd/crypto/openssl/include/internal/dsoerr.h (revision 43a5ec4eb41567cc92586503212743d89686d78f)
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 OpenSSL license (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 # ifndef HEADER_SYMHACKS_H
15 #  include <openssl/symhacks.h>
16 # endif
17 
18 # ifdef  __cplusplus
19 extern "C"
20 # endif
21 int ERR_load_DSO_strings(void);
22 
23 /*
24  * DSO function codes.
25  */
26 #  define DSO_F_DLFCN_BIND_FUNC                            100
27 #  define DSO_F_DLFCN_LOAD                                 102
28 #  define DSO_F_DLFCN_MERGER                               130
29 #  define DSO_F_DLFCN_NAME_CONVERTER                       123
30 #  define DSO_F_DLFCN_UNLOAD                               103
31 #  define DSO_F_DL_BIND_FUNC                               104
32 #  define DSO_F_DL_LOAD                                    106
33 #  define DSO_F_DL_MERGER                                  131
34 #  define DSO_F_DL_NAME_CONVERTER                          124
35 #  define DSO_F_DL_UNLOAD                                  107
36 #  define DSO_F_DSO_BIND_FUNC                              108
37 #  define DSO_F_DSO_CONVERT_FILENAME                       126
38 #  define DSO_F_DSO_CTRL                                   110
39 #  define DSO_F_DSO_FREE                                   111
40 #  define DSO_F_DSO_GET_FILENAME                           127
41 #  define DSO_F_DSO_GLOBAL_LOOKUP                          139
42 #  define DSO_F_DSO_LOAD                                   112
43 #  define DSO_F_DSO_MERGE                                  132
44 #  define DSO_F_DSO_NEW_METHOD                             113
45 #  define DSO_F_DSO_PATHBYADDR                             105
46 #  define DSO_F_DSO_SET_FILENAME                           129
47 #  define DSO_F_DSO_UP_REF                                 114
48 #  define DSO_F_VMS_BIND_SYM                               115
49 #  define DSO_F_VMS_LOAD                                   116
50 #  define DSO_F_VMS_MERGER                                 133
51 #  define DSO_F_VMS_UNLOAD                                 117
52 #  define DSO_F_WIN32_BIND_FUNC                            101
53 #  define DSO_F_WIN32_GLOBALLOOKUP                         142
54 #  define DSO_F_WIN32_JOINER                               135
55 #  define DSO_F_WIN32_LOAD                                 120
56 #  define DSO_F_WIN32_MERGER                               134
57 #  define DSO_F_WIN32_NAME_CONVERTER                       125
58 #  define DSO_F_WIN32_PATHBYADDR                           109
59 #  define DSO_F_WIN32_SPLITTER                             136
60 #  define DSO_F_WIN32_UNLOAD                               121
61 
62 /*
63  * DSO reason codes.
64  */
65 #  define DSO_R_CTRL_FAILED                                100
66 #  define DSO_R_DSO_ALREADY_LOADED                         110
67 #  define DSO_R_EMPTY_FILE_STRUCTURE                       113
68 #  define DSO_R_FAILURE                                    114
69 #  define DSO_R_FILENAME_TOO_BIG                           101
70 #  define DSO_R_FINISH_FAILED                              102
71 #  define DSO_R_INCORRECT_FILE_SYNTAX                      115
72 #  define DSO_R_LOAD_FAILED                                103
73 #  define DSO_R_NAME_TRANSLATION_FAILED                    109
74 #  define DSO_R_NO_FILENAME                                111
75 #  define DSO_R_NULL_HANDLE                                104
76 #  define DSO_R_SET_FILENAME_FAILED                        112
77 #  define DSO_R_STACK_ERROR                                105
78 #  define DSO_R_SYM_FAILURE                                106
79 #  define DSO_R_UNLOAD_FAILED                              107
80 #  define DSO_R_UNSUPPORTED                                108
81 
82 #endif
83