diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-11-15 22:52:03 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-11-15 22:52:03 +0000 |
commit | 7ae788f94d56de34a4239946975669e8edd0b23f (patch) | |
tree | 8aa0e3bee1d6ea5088d7117c736621e63b799501 /gtk/proto_draw.h | |
parent | 06f0344358020b9de4016b2827087a9052cd85c0 (diff) |
Don't store both "start" and "length" in each GUI proto_tree item. Just
store the field_info pointer, from which we can get both "start" and
"length" (and "hfinfo" and "value", which I'm working towards, so that
match_selected, or a new function, and create a display filter based on
the field's name, instead of byte offset ).
svn path=/trunk/; revision=1039
Diffstat (limited to 'gtk/proto_draw.h')
-rw-r--r-- | gtk/proto_draw.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/proto_draw.h b/gtk/proto_draw.h index b0e92c8c33..3527f510d4 100644 --- a/gtk/proto_draw.h +++ b/gtk/proto_draw.h @@ -1,7 +1,7 @@ /* gtkpacket.h * Definitions for GTK+ packet display structures and routines * - * $Id: proto_draw.h,v 1.2 1999/09/11 12:38:18 deniel Exp $ + * $Id: proto_draw.h,v 1.3 1999/11/15 22:52:03 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -29,8 +29,7 @@ void packet_hex_print(GtkText *, guint8 *, gint, gint, gint); -#define E_TREEINFO_START_KEY "tree_info_start" -#define E_TREEINFO_LEN_KEY "tree_info_len" +#define E_TREEINFO_FIELD_INFO_KEY "tree_info_finfo" void proto_tree_draw(proto_tree *protocol_tree, GtkWidget *tree_view); void expand_all_tree(proto_tree *protocol_tree, GtkWidget *tree_view); |