summaryrefslogtreecommitdiff
path: root/include/internal/propertyerr.h
blob: 3a2d0ff1c82a79efaf7155e8d501761b14563d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * Generated by util/mkerr.pl DO NOT EDIT
 * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

#ifndef OSSL_INTERNAL_PROPERTYERR_H
# define OSSL_INTERNAL_PROPERTYERR_H
# pragma once

# include <openssl/opensslconf.h>
# include <openssl/symhacks.h>

# ifdef  __cplusplus
extern "C" {
# endif

int err_load_PROP_strings_int(void);

/*
 * PROP function codes.
 */
# ifndef OPENSSL_NO_DEPRECATED_3_0
#  define PROP_F_OSSL_PARSE_PROPERTY                       0
#  define PROP_F_OSSL_PARSE_QUERY                          0
#  define PROP_F_PARSE_HEX                                 0
#  define PROP_F_PARSE_NAME                                0
#  define PROP_F_PARSE_NUMBER                              0
#  define PROP_F_PARSE_OCT                                 0
#  define PROP_F_PARSE_STRING                              0
#  define PROP_F_PARSE_UNQUOTED                            0
# endif

/*
 * PROP reason codes.
 */
# define PROP_R_NAME_TOO_LONG                             100
# define PROP_R_NOT_AN_ASCII_CHARACTER                    101
# define PROP_R_NOT_AN_HEXADECIMAL_DIGIT                  102
# define PROP_R_NOT_AN_IDENTIFIER                         103
# define PROP_R_NOT_AN_OCTAL_DIGIT                        104
# define PROP_R_NOT_A_DECIMAL_DIGIT                       105
# define PROP_R_NO_MATCHING_STRING_DELIMITER              106
# define PROP_R_NO_VALUE                                  107
# define PROP_R_PARSE_FAILED                              108
# define PROP_R_STRING_TOO_LONG                           109
# define PROP_R_TRAILING_CHARACTERS                       110


# ifdef  __cplusplus
}
# endif
#endif