xref: /openssl/include/internal/dsoerr.h (revision b93f6c2d)
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 2020-2021 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 # pragma once
14 
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17 
18 # ifdef  __cplusplus
19 extern "C" {
20 # endif
21 
22 int ossl_err_load_DSO_strings(void);
23 
24 /*
25  * DSO reason codes.
26  */
27 # define DSO_R_CTRL_FAILED                                100
28 # define DSO_R_DSO_ALREADY_LOADED                         110
29 # define DSO_R_EMPTY_FILE_STRUCTURE                       113
30 # define DSO_R_FAILURE                                    114
31 # define DSO_R_FILENAME_TOO_BIG                           101
32 # define DSO_R_FINISH_FAILED                              102
33 # define DSO_R_INCORRECT_FILE_SYNTAX                      115
34 # define DSO_R_LOAD_FAILED                                103
35 # define DSO_R_NAME_TRANSLATION_FAILED                    109
36 # define DSO_R_NO_FILENAME                                111
37 # define DSO_R_NULL_HANDLE                                104
38 # define DSO_R_SET_FILENAME_FAILED                        112
39 # define DSO_R_STACK_ERROR                                105
40 # define DSO_R_SYM_FAILURE                                106
41 # define DSO_R_UNLOAD_FAILED                              107
42 # define DSO_R_UNSUPPORTED                                108
43 
44 
45 # ifdef  __cplusplus
46 }
47 # endif
48 #endif
49