1 /*
2  *  HTML Entity & Encoding normalization.
3  *
4  *  Copyright (C) 2013-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
5  *  Copyright (C) 2007-2013 Sourcefire, Inc.
6  *
7  *  Authors: Török Edvin
8  *
9  *  This program is free software; you can redistribute it and/or modify
10  *  it under the terms of the GNU General Public License version 2 as
11  *  published by the Free Software Foundation.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21  *  MA 02110-1301, USA.
22  */
23 
24 #include <hashtab.h>
25 static struct cli_element aliases_htable_elements[] = {
26     {NULL, 0, 0},
27     {NULL, 0, 0},
28     {NULL, 0, 0},
29     {NULL, 0, 0},
30     {"UTF32BE", 3, 7},
31     {NULL, 0, 0},
32     {NULL, 0, 0},
33     {"UTF-16LE", 7, 8},
34     {NULL, 0, 0},
35     {NULL, 0, 0},
36     {"UCS-4BE", 3, 7},
37     {"UTF32LE", 2, 7},
38     {NULL, 0, 0},
39     {"ISO-10646/UTF8", 8, 14},
40     {NULL, 0, 0},
41     {"UTF-16BE", 6, 8},
42     {"UTF-32BE", 3, 8},
43     {NULL, 0, 0},
44     {NULL, 0, 0},
45     {"UCS2", 1, 4},
46     {"UTF16BE", 6, 7},
47     {NULL, 0, 0},
48     {"UTF32", 0, 5},
49     {"UCS-4", 0, 5},
50     {"UTF-16", 1, 6},
51     {NULL, 0, 0},
52     {NULL, 0, 0},
53     {NULL, 0, 0},
54     {NULL, 0, 0},
55     {NULL, 0, 0},
56     {"ISO-10646/UCS2", 1, 14},
57     {NULL, 0, 0},
58     {NULL, 0, 0},
59     {"UTF-8", 8, 5},
60     {"ISO-10646/UTF-8", 8, 15},
61     {"UCS4", 0, 4},
62     {"10646-1:1993/UCS4", 0, 17},
63     {NULL, 0, 0},
64     {NULL, 0, 0},
65     {"UTF16LE", 7, 7},
66     {"UCS-4LE", 2, 7},
67     {"ISO-10646", 0, 9},
68     {"UTF-32LE", 2, 8},
69     {"UTF8", 8, 4},
70     {"ISO-10646/UCS4", 0, 14},
71     {NULL, 0, 0},
72     {NULL, 0, 0},
73     {NULL, 0, 0},
74     {NULL, 0, 0},
75     {"10646-1:1993", 0, 12},
76     {"UTF-32", 0, 6},
77     {NULL, 0, 0},
78     {NULL, 0, 0},
79     {NULL, 0, 0},
80     {NULL, 0, 0},
81     {NULL, 0, 0},
82     {NULL, 0, 0},
83     {NULL, 0, 0},
84     {NULL, 0, 0},
85     {NULL, 0, 0},
86     {NULL, 0, 0},
87     {NULL, 0, 0},
88     {NULL, 0, 0},
89     {NULL, 0, 0},
90 };
91 #ifndef PROFILE_HASHTABLE
92 const struct cli_hashtable aliases_htable = {
93 #else
94 struct cli_hashtable aliases_htable = {
95 #endif
96     aliases_htable_elements, 64, 25, 51};
97