]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * WARNING: do not edit! | |
3 | * Generated by crypto/conf/keysets.pl | |
4 | * | |
5 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. | |
6 | * Licensed under the Apache License 2.0 (the "License"). You may not use | |
7 | * this file except in compliance with the License. You can obtain a copy | |
8 | * in the file LICENSE in the source distribution or at | |
9 | * https://www.openssl.org/source/license.html | |
10 | */ | |
11 | ||
12 | #define CONF_NUMBER 1 | |
13 | #define CONF_UPPER 2 | |
14 | #define CONF_LOWER 4 | |
15 | #define CONF_UNDER 256 | |
16 | #define CONF_PUNCT 512 | |
17 | #define CONF_WS 16 | |
18 | #define CONF_ESC 32 | |
19 | #define CONF_QUOTE 64 | |
20 | #define CONF_DQUOTE 1024 | |
21 | #define CONF_COMMENT 128 | |
22 | #define CONF_FCOMMENT 2048 | |
23 | #define CONF_DOLLAR 4096 | |
24 | #define CONF_EOF 8 | |
25 | #define CONF_ALPHA (CONF_UPPER|CONF_LOWER) | |
26 | #define CONF_ALNUM (CONF_ALPHA|CONF_NUMBER|CONF_UNDER) | |
27 | #define CONF_ALNUM_PUNCT (CONF_ALPHA|CONF_NUMBER|CONF_UNDER|CONF_PUNCT) | |
28 | ||
29 | ||
30 | #define IS_COMMENT(conf,c) is_keytype(conf, c, CONF_COMMENT) | |
31 | #define IS_FCOMMENT(conf,c) is_keytype(conf, c, CONF_FCOMMENT) | |
32 | #define IS_EOF(conf,c) is_keytype(conf, c, CONF_EOF) | |
33 | #define IS_ESC(conf,c) is_keytype(conf, c, CONF_ESC) | |
34 | #define IS_NUMBER(conf,c) is_keytype(conf, c, CONF_NUMBER) | |
35 | #define IS_WS(conf,c) is_keytype(conf, c, CONF_WS) | |
36 | #define IS_ALNUM(conf,c) is_keytype(conf, c, CONF_ALNUM) | |
37 | #define IS_ALNUM_PUNCT(conf,c) is_keytype(conf, c, CONF_ALNUM_PUNCT) | |
38 | #define IS_QUOTE(conf,c) is_keytype(conf, c, CONF_QUOTE) | |
39 | #define IS_DQUOTE(conf,c) is_keytype(conf, c, CONF_DQUOTE) | |
40 | #define IS_DOLLAR(conf,c) is_keytype(conf, c, CONF_DOLLAR) | |
41 | ||
42 | static const unsigned short CONF_type_default[128] = { | |
43 | 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
44 | 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, | |
45 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
46 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
47 | 0x0010, 0x0200, 0x0040, 0x0080, 0x1000, 0x0200, 0x0200, 0x0040, | |
48 | 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, | |
49 | 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, | |
50 | 0x0001, 0x0001, 0x0000, 0x0200, 0x0000, 0x0000, 0x0000, 0x0200, | |
51 | 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
52 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
53 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
54 | 0x0002, 0x0002, 0x0002, 0x0000, 0x0020, 0x0000, 0x0200, 0x0100, | |
55 | 0x0040, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
56 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
57 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
58 | 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000, | |
59 | }; | |
60 | ||
61 | #ifndef OPENSSL_NO_DEPRECATED_3_0 | |
62 | static const unsigned short CONF_type_win32[128] = { | |
63 | 0x0008, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
64 | 0x0000, 0x0010, 0x0010, 0x0000, 0x0000, 0x0010, 0x0000, 0x0000, | |
65 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
66 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, | |
67 | 0x0010, 0x0200, 0x0400, 0x0000, 0x1000, 0x0200, 0x0200, 0x0000, | |
68 | 0x0000, 0x0000, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, 0x0200, | |
69 | 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, | |
70 | 0x0001, 0x0001, 0x0000, 0x0A00, 0x0000, 0x0000, 0x0000, 0x0200, | |
71 | 0x0200, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
72 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
73 | 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, | |
74 | 0x0002, 0x0002, 0x0002, 0x0000, 0x0000, 0x0000, 0x0200, 0x0100, | |
75 | 0x0000, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
76 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
77 | 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, | |
78 | 0x0004, 0x0004, 0x0004, 0x0000, 0x0200, 0x0000, 0x0200, 0x0000, | |
79 | }; | |
80 | #endif |