MSWSP: add two more Property Sets
[wireshark-wip.git] / epan / ftypes / ftype-none.c
blob956d7e9259346749b2ac71a6ad8fbc1384d30b73
1 /*
2 * $Id$
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 2001 Gerald Combs
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
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.
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, MA 02110-1301 USA.
23 #include "config.h"
25 #include <ftypes-int.h>
28 void
29 ftype_register_none(void)
32 static ftype_t none_type = {
33 FT_NONE, /* ftype */
34 "FT_NONE", /* name */
35 "Label", /* pretty_name */
36 0, /* wire_size */
37 NULL, /* new_value */
38 NULL, /* free_value */
39 NULL, /* val_from_unparsed */
40 NULL, /* val_from_string */
41 NULL, /* val_to_string_repr */
42 NULL, /* len_string_repr */
44 NULL, /* set_value */
45 NULL, /* set_value_uinteger */
46 NULL, /* set_value_sinteger */
47 NULL, /* set_value_integer64 */
48 NULL, /* set_value_floating */
50 NULL, /* get_value */
51 NULL, /* get_value_uinteger */
52 NULL, /* get_value_sinteger */
53 NULL, /* get_value_integer64 */
54 NULL, /* get_value_floating */
56 NULL, /* cmp_eq */
57 NULL, /* cmp_ne */
58 NULL, /* cmp_gt */
59 NULL, /* cmp_ge */
60 NULL, /* cmp_lt */
61 NULL, /* cmp_le */
62 NULL, /* cmp_bitwise_and */
63 NULL, /* cmp_contains */
64 NULL, /* cmp_matches */
66 NULL,
67 NULL,
69 ftype_register(FT_NONE, &none_type);