aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-none.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-08-22 00:31:58 +0000
committerGuy Harris <guy@alum.mit.edu>2004-08-22 00:31:58 +0000
commitc68f62210fc20890502cb84dbc2ea4321de5b791 (patch)
treed7311a179eacd5a137e9e874b3bf2d0e15377de6 /epan/ftypes/ftype-none.c
parent9dcb077e460619b8ab54810e4fef850a0799bcde (diff)
Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers. Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array values, to the protocol tree, and add routines to add specified 64-bit integer values to the protocol tree. Use those routines in the RSVP dissector. svn path=/trunk/; revision=11796
Diffstat (limited to 'epan/ftypes/ftype-none.c')
-rw-r--r--epan/ftypes/ftype-none.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/epan/ftypes/ftype-none.c b/epan/ftypes/ftype-none.c
index 61e23937c7..4eb037eed9 100644
--- a/epan/ftypes/ftype-none.c
+++ b/epan/ftypes/ftype-none.c
@@ -2,10 +2,9 @@
* $Id$
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 2001 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -33,23 +32,25 @@ ftype_register_none(void)
{
static ftype_t none_type = {
- "FT_NONE",
- "label",
- 0,
- NULL,
- NULL,
- NULL,
- NULL,
+ "FT_NONE", /* name */
+ "label", /* pretty_name */
+ 0, /* wire_size */
+ NULL, /* new_value */
+ NULL, /* free_value */
+ NULL, /* val_from_unparsed */
+ NULL, /* val_from_string */
NULL, /* val_to_string_repr */
NULL, /* len_string_repr */
- NULL,
- NULL,
- NULL,
+ NULL, /* set_value */
+ NULL, /* set_value_integer */
+ NULL, /* set_value_integer64 */
+ NULL, /* set_value_floating */
- NULL,
- NULL,
- NULL,
+ NULL, /* get_value */
+ NULL, /* get_value_integer */
+ NULL, /* get_value_integer64 */
+ NULL, /* get_value_floating */
NULL, /* cmp_eq */
NULL, /* cmp_ne */