From bd9f96738c50f2d8eb5f65cb1eeef88abaa6ba58 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 2 Dec 2003 21:15:49 +0000 Subject: From Didier Gautheron: put an "fvalue_t" structure into a "field_info" structure, rather than separately allocating "fvalue_t"s and having the "field_info" structure point to them - this appears to speed up protocol tree construction a bit. svn path=/trunk/; revision=9146 --- epan/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/proto.h') diff --git a/epan/proto.h b/epan/proto.h index 671e94abed..f508dd42da 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.48 2003/11/26 12:22:22 sahlberg Exp $ + * $Id: proto.h,v 1.49 2003/12/02 21:15:47 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -123,8 +123,8 @@ typedef struct field_info { gint tree_type; /* ETT_* */ item_label_t *rep; /* string for GUI tree */ int visible; - fvalue_t *value; tvbuff_t *ds_tvb; /* data source tvbuff */ + fvalue_t value; } field_info; /* One of these exists for the entire protocol tree. Each proto_node -- cgit v1.2.1