summaryrefslogtreecommitdiff
path: root/epan/proto.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-02 21:15:49 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-02 21:15:49 +0000
commitbd9f96738c50f2d8eb5f65cb1eeef88abaa6ba58 (patch)
treebba10b00745ee2278670863e1574d7760e2fec79 /epan/proto.h
parent98c4d5d030c62c47200d56734e2cb7cd5fa5a20f (diff)
downloadwireshark-bd9f96738c50f2d8eb5f65cb1eeef88abaa6ba58.tar.gz
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
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h4
1 files changed, 2 insertions, 2 deletions
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 <gerald@ethereal.com>
@@ -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