Adapt for BSD cryptodev.h differences
[openssl.git] / include / openssl / engineerr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2017 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 HEADER_ENGINEERR_H
12 # define HEADER_ENGINEERR_H
13
14 # ifdef  __cplusplus
15 extern "C" {
16 # endif
17 int ERR_load_ENGINE_strings(void);
18 # ifdef  __cplusplus
19 }
20 # endif
21
22 /*
23  * ENGINE function codes.
24  */
25 # define ENGINE_F_DIGEST_UPDATE                           198
26 # define ENGINE_F_DYNAMIC_CTRL                            180
27 # define ENGINE_F_DYNAMIC_GET_DATA_CTX                    181
28 # define ENGINE_F_DYNAMIC_LOAD                            182
29 # define ENGINE_F_DYNAMIC_SET_DATA_CTX                    183
30 # define ENGINE_F_ENGINE_ADD                              105
31 # define ENGINE_F_ENGINE_BY_ID                            106
32 # define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE                170
33 # define ENGINE_F_ENGINE_CTRL                             142
34 # define ENGINE_F_ENGINE_CTRL_CMD                         178
35 # define ENGINE_F_ENGINE_CTRL_CMD_STRING                  171
36 # define ENGINE_F_ENGINE_FINISH                           107
37 # define ENGINE_F_ENGINE_GET_CIPHER                       185
38 # define ENGINE_F_ENGINE_GET_DIGEST                       186
39 # define ENGINE_F_ENGINE_GET_FIRST                        195
40 # define ENGINE_F_ENGINE_GET_LAST                         196
41 # define ENGINE_F_ENGINE_GET_NEXT                         115
42 # define ENGINE_F_ENGINE_GET_PKEY_ASN1_METH               193
43 # define ENGINE_F_ENGINE_GET_PKEY_METH                    192
44 # define ENGINE_F_ENGINE_GET_PREV                         116
45 # define ENGINE_F_ENGINE_INIT                             119
46 # define ENGINE_F_ENGINE_LIST_ADD                         120
47 # define ENGINE_F_ENGINE_LIST_REMOVE                      121
48 # define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY                 150
49 # define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY                  151
50 # define ENGINE_F_ENGINE_LOAD_SSL_CLIENT_CERT             194
51 # define ENGINE_F_ENGINE_NEW                              122
52 # define ENGINE_F_ENGINE_PKEY_ASN1_FIND_STR               197
53 # define ENGINE_F_ENGINE_REMOVE                           123
54 # define ENGINE_F_ENGINE_SET_DEFAULT_STRING               189
55 # define ENGINE_F_ENGINE_SET_ID                           129
56 # define ENGINE_F_ENGINE_SET_NAME                         130
57 # define ENGINE_F_ENGINE_TABLE_REGISTER                   184
58 # define ENGINE_F_ENGINE_UNLOCKED_FINISH                  191
59 # define ENGINE_F_ENGINE_UP_REF                           190
60 # define ENGINE_F_INT_CTRL_HELPER                         172
61 # define ENGINE_F_INT_ENGINE_CONFIGURE                    188
62 # define ENGINE_F_INT_ENGINE_MODULE_INIT                  187
63
64 /*
65  * ENGINE reason codes.
66  */
67 # define ENGINE_R_ALREADY_LOADED                          100
68 # define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER                133
69 # define ENGINE_R_CMD_NOT_EXECUTABLE                      134
70 # define ENGINE_R_COMMAND_TAKES_INPUT                     135
71 # define ENGINE_R_COMMAND_TAKES_NO_INPUT                  136
72 # define ENGINE_R_CONFLICTING_ENGINE_ID                   103
73 # define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED            119
74 # define ENGINE_R_DSO_FAILURE                             104
75 # define ENGINE_R_DSO_NOT_FOUND                           132
76 # define ENGINE_R_ENGINES_SECTION_ERROR                   148
77 # define ENGINE_R_ENGINE_CONFIGURATION_ERROR              102
78 # define ENGINE_R_ENGINE_IS_NOT_IN_LIST                   105
79 # define ENGINE_R_ENGINE_SECTION_ERROR                    149
80 # define ENGINE_R_FAILED_LOADING_PRIVATE_KEY              128
81 # define ENGINE_R_FAILED_LOADING_PUBLIC_KEY               129
82 # define ENGINE_R_FINISH_FAILED                           106
83 # define ENGINE_R_ID_OR_NAME_MISSING                      108
84 # define ENGINE_R_INIT_FAILED                             109
85 # define ENGINE_R_INTERNAL_LIST_ERROR                     110
86 # define ENGINE_R_INVALID_ARGUMENT                        143
87 # define ENGINE_R_INVALID_CMD_NAME                        137
88 # define ENGINE_R_INVALID_CMD_NUMBER                      138
89 # define ENGINE_R_INVALID_INIT_VALUE                      151
90 # define ENGINE_R_INVALID_STRING                          150
91 # define ENGINE_R_NOT_INITIALISED                         117
92 # define ENGINE_R_NOT_LOADED                              112
93 # define ENGINE_R_NO_CONTROL_FUNCTION                     120
94 # define ENGINE_R_NO_INDEX                                144
95 # define ENGINE_R_NO_LOAD_FUNCTION                        125
96 # define ENGINE_R_NO_REFERENCE                            130
97 # define ENGINE_R_NO_SUCH_ENGINE                          116
98 # define ENGINE_R_UNIMPLEMENTED_CIPHER                    146
99 # define ENGINE_R_UNIMPLEMENTED_DIGEST                    147
100 # define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD         101
101 # define ENGINE_R_VERSION_INCOMPATIBILITY                 145
102
103 #endif