97 lines
2.4 KiB
C
97 lines
2.4 KiB
C
|
/*
|
||
|
* HTML Entity & Encoding normalization.
|
||
|
*
|
||
|
* Copyright (C) 2013-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
|
||
|
* Copyright (C) 2007-2013 Sourcefire, Inc.
|
||
|
*
|
||
|
* Authors: Török Edvin
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as
|
||
|
* published by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with this program; if not, write to the Free Software
|
||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
|
* MA 02110-1301, USA.
|
||
|
*/
|
||
|
|
||
|
#include <hashtab.h>
|
||
|
static struct cli_element aliases_htable_elements[] = {
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF32BE", 3, 7},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF-16LE", 7, 8},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UCS-4BE", 3, 7},
|
||
|
{"UTF32LE", 2, 7},
|
||
|
{NULL, 0, 0},
|
||
|
{"ISO-10646/UTF8", 8, 14},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF-16BE", 6, 8},
|
||
|
{"UTF-32BE", 3, 8},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UCS2", 1, 4},
|
||
|
{"UTF16BE", 6, 7},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF32", 0, 5},
|
||
|
{"UCS-4", 0, 5},
|
||
|
{"UTF-16", 1, 6},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"ISO-10646/UCS2", 1, 14},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF-8", 8, 5},
|
||
|
{"ISO-10646/UTF-8", 8, 15},
|
||
|
{"UCS4", 0, 4},
|
||
|
{"10646-1:1993/UCS4", 0, 17},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"UTF16LE", 7, 7},
|
||
|
{"UCS-4LE", 2, 7},
|
||
|
{"ISO-10646", 0, 9},
|
||
|
{"UTF-32LE", 2, 8},
|
||
|
{"UTF8", 8, 4},
|
||
|
{"ISO-10646/UCS4", 0, 14},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{"10646-1:1993", 0, 12},
|
||
|
{"UTF-32", 0, 6},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
{NULL, 0, 0},
|
||
|
};
|
||
|
#ifndef PROFILE_HASHTABLE
|
||
|
const struct cli_hashtable aliases_htable = {
|
||
|
#else
|
||
|
struct cli_hashtable aliases_htable = {
|
||
|
#endif
|
||
|
aliases_htable_elements, 64, 25, 51};
|