55340de8991cec7813690343387dbd9c1e90a478
[openssl.git] / include / openssl / uierr.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 OPENSSL_UIERR_H
12 # define OPENSSL_UIERR_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_UI_strings(void);
22
23 /*
24  * UI function codes.
25  */
26 # if !OPENSSL_API_3
27 #  define UI_F_CLOSE_CONSOLE                               0
28 #  define UI_F_ECHO_CONSOLE                                0
29 #  define UI_F_GENERAL_ALLOCATE_BOOLEAN                    0
30 #  define UI_F_GENERAL_ALLOCATE_PROMPT                     0
31 #  define UI_F_NOECHO_CONSOLE                              0
32 #  define UI_F_OPEN_CONSOLE                                0
33 #  define UI_F_UI_CONSTRUCT_PROMPT                         0
34 #  define UI_F_UI_CREATE_METHOD                            0
35 #  define UI_F_UI_CTRL                                     0
36 #  define UI_F_UI_DUP_ERROR_STRING                         0
37 #  define UI_F_UI_DUP_INFO_STRING                          0
38 #  define UI_F_UI_DUP_INPUT_BOOLEAN                        0
39 #  define UI_F_UI_DUP_INPUT_STRING                         0
40 #  define UI_F_UI_DUP_USER_DATA                            0
41 #  define UI_F_UI_DUP_VERIFY_STRING                        0
42 #  define UI_F_UI_GET0_RESULT                              0
43 #  define UI_F_UI_GET_RESULT_LENGTH                        0
44 #  define UI_F_UI_NEW_METHOD                               0
45 #  define UI_F_UI_PROCESS                                  0
46 #  define UI_F_UI_SET_RESULT                               0
47 #  define UI_F_UI_SET_RESULT_EX                            0
48 # endif
49
50 /*
51  * UI reason codes.
52  */
53 # define UI_R_COMMON_OK_AND_CANCEL_CHARACTERS             104
54 # define UI_R_INDEX_TOO_LARGE                             102
55 # define UI_R_INDEX_TOO_SMALL                             103
56 # define UI_R_NO_RESULT_BUFFER                            105
57 # define UI_R_PROCESSING_ERROR                            107
58 # define UI_R_RESULT_TOO_LARGE                            100
59 # define UI_R_RESULT_TOO_SMALL                            101
60 # define UI_R_SYSASSIGN_ERROR                             109
61 # define UI_R_SYSDASSGN_ERROR                             110
62 # define UI_R_SYSQIOW_ERROR                               111
63 # define UI_R_UNKNOWN_CONTROL_COMMAND                     106
64 # define UI_R_UNKNOWN_TTYGET_ERRNO_VALUE                  108
65 # define UI_R_USER_DATA_DUPLICATION_UNSUPPORTED           112
66
67 #endif