Update source files for deprecation at 3.0
[openssl.git] / include / internal / propertyerr.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 OSSL_INTERNAL_PROPERTYERR_H
12 # define OSSL_INTERNAL_PROPERTYERR_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_PROP_strings(void);
22
23 /*
24  * PROP function codes.
25  */
26 # ifndef OPENSSL_NO_DEPRECATED_3_0
27 #  define PROP_F_OSSL_PARSE_PROPERTY                       0
28 #  define PROP_F_OSSL_PARSE_QUERY                          0
29 #  define PROP_F_PARSE_HEX                                 0
30 #  define PROP_F_PARSE_NAME                                0
31 #  define PROP_F_PARSE_NUMBER                              0
32 #  define PROP_F_PARSE_OCT                                 0
33 #  define PROP_F_PARSE_STRING                              0
34 #  define PROP_F_PARSE_UNQUOTED                            0
35 # endif
36
37 /*
38  * PROP reason codes.
39  */
40 # define PROP_R_NAME_TOO_LONG                             100
41 # define PROP_R_NOT_AN_ASCII_CHARACTER                    101
42 # define PROP_R_NOT_AN_HEXADECIMAL_DIGIT                  102
43 # define PROP_R_NOT_AN_IDENTIFIER                         103
44 # define PROP_R_NOT_AN_OCTAL_DIGIT                        104
45 # define PROP_R_NOT_A_DECIMAL_DIGIT                       105
46 # define PROP_R_NO_MATCHING_STRING_DELIMETER              106
47 # define PROP_R_NO_VALUE                                  107
48 # define PROP_R_PARSE_FAILED                              108
49 # define PROP_R_STRING_TOO_LONG                           109
50 # define PROP_R_TRAILING_CHARACTERS                       110
51
52 #endif