From a2a20ed62abdb61fa0398365aee9ccf1179ea544 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Wed, 31 Jul 2013 20:01:53 +0000 Subject: Move tvbuff composite structure to their own file. svn path=/trunk/; revision=51072 --- epan/tvbuff_composite.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'epan/tvbuff_composite.c') diff --git a/epan/tvbuff_composite.c b/epan/tvbuff_composite.c index 8ec3cc12dc..ade37b1025 100644 --- a/epan/tvbuff_composite.c +++ b/epan/tvbuff_composite.c @@ -29,6 +29,23 @@ #include "tvbuff-int.h" #include "proto.h" /* XXX - only used for DISSECTOR_ASSERT, probably a new header file? */ +typedef struct { + GSList *tvbs; + + /* Used for quick testing to see if this + * is the tvbuff that a COMPOSITE is + * interested in. */ + guint *start_offsets; + guint *end_offsets; + +} tvb_comp_t; + +struct tvb_composite { + struct tvbuff tvb; + + tvb_comp_t composite; +}; + static gsize composite_sizeof(void) { -- cgit v1.2.3