2 * Wireshark - Network traffic analyzer
3 * By Gerald Combs <gerald@wireshark.org>
4 * Copyright 2001 Gerald Combs
6 * SPDX-License-Identifier: GPL-2.0-or-later
11 #include <ftypes-int.h>
12 #include <wsutil/array.h>
15 ftype_register_none(void)
18 static const ftype_t none_type
= {
22 NULL
, /* copy_value */
23 NULL
, /* free_value */
24 NULL
, /* val_from_literal */
25 NULL
, /* val_from_string */
26 NULL
, /* val_from_charconst */
27 NULL
, /* val_from_uinteger64 */
28 NULL
, /* val_from_sinteger64 */
29 NULL
, /* val_from_double */
30 NULL
, /* val_to_string_repr */
32 NULL
, /* val_to_uinteger64 */
33 NULL
, /* val_to_sinteger64 */
34 NULL
, /* val_to_double */
36 { NULL
}, /* union set_value */
37 { NULL
}, /* union get_value */
40 NULL
, /* cmp_contains */
41 NULL
, /* cmp_matches */
45 NULL
, /* is_negative */
48 NULL
, /* bitwise_and */
49 NULL
, /* unary_minus */
56 ftype_register(FT_NONE
, &none_type
);
60 ftype_register_pseudofields_none(int proto
)
62 static int hf_ft_none
;
64 static hf_register_info hf_ftypes
[] = {
66 { "FT_NONE", "_ws.ftypes.none",
67 FT_NONE
, BASE_NONE
, NULL
, 0x00,
72 proto_register_field_array(proto
, hf_ftypes
, array_length(hf_ftypes
));
76 * Editor modelines - https://www.wireshark.org/tools/modelines.html
84 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
85 * :indentSize=8:tabSize=8:noTabs=false: