Add missing parentheses in macro
[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 HEADER_DSOERR_H
12 # define HEADER_DSOERR_H
13
14 # ifndef HEADER_SYMHACKS_H
15 #  include <openssl/symhacks.h>
16 # endif
17
18 # include <openssl/opensslconf.h>
19
20 # ifdef  __cplusplus
21 extern "C"
22 # endif
23 int ERR_load_DSO_strings(void);
24
25 /*
26  * DSO function codes.
27  */
28 #  define DSO_F_DLFCN_BIND_FUNC                            100
29 #  define DSO_F_DLFCN_LOAD                                 102
30 #  define DSO_F_DLFCN_MERGER                               130
31 #  define DSO_F_DLFCN_NAME_CONVERTER                       123
32 #  define DSO_F_DLFCN_UNLOAD                               103
33 #  define DSO_F_DL_BIND_FUNC                               104
34 #  define DSO_F_DL_LOAD                                    106
35 #  define DSO_F_DL_MERGER                                  131
36 #  define DSO_F_DL_NAME_CONVERTER                          124
37 #  define DSO_F_DL_UNLOAD                                  107
38 #  define DSO_F_DSO_BIND_FUNC                              108
39 #  define DSO_F_DSO_CONVERT_FILENAME                       126
40 #  define DSO_F_DSO_CTRL                                   110
41 #  define DSO_F_DSO_FREE                                   111
42 #  define DSO_F_DSO_GET_FILENAME                           127
43 #  define DSO_F_DSO_GLOBAL_LOOKUP                          139
44 #  define DSO_F_DSO_LOAD                                   112
45 #  define DSO_F_DSO_MERGE                                  132
46 #  define DSO_F_DSO_NEW_METHOD                             113
47 #  define DSO_F_DSO_PATHBYADDR                             105
48 #  define DSO_F_DSO_SET_FILENAME                           129
49 #  define DSO_F_DSO_UP_REF                                 114
50 #  define DSO_F_VMS_BIND_SYM                               115
51 #  define DSO_F_VMS_LOAD                                   116
52 #  define DSO_F_VMS_MERGER                                 133
53 #  define DSO_F_VMS_UNLOAD                                 117
54 #  define DSO_F_WIN32_BIND_FUNC                            101
55 #  define DSO_F_WIN32_GLOBALLOOKUP                         142
56 #  define DSO_F_WIN32_JOINER                               135
57 #  define DSO_F_WIN32_LOAD                                 120
58 #  define DSO_F_WIN32_MERGER                               134
59 #  define DSO_F_WIN32_NAME_CONVERTER                       125
60 #  define DSO_F_WIN32_PATHBYADDR                           109
61 #  define DSO_F_WIN32_SPLITTER                             136
62 #  define DSO_F_WIN32_UNLOAD                               121
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