diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-31 20:01:53 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-31 20:01:53 +0000 |
commit | a2a20ed62abdb61fa0398365aee9ccf1179ea544 (patch) | |
tree | a52fd8f07abb8bd51b273102ec6c9d4225e37e05 /epan/tvbuff_composite.c | |
parent | 9d519b5659aa8c0c4aa984bc6169909eb31be7d6 (diff) | |
download | wireshark-a2a20ed62abdb61fa0398365aee9ccf1179ea544.tar.gz |
Move tvbuff composite structure to their own file.
svn path=/trunk/; revision=51072
Diffstat (limited to 'epan/tvbuff_composite.c')
-rw-r--r-- | epan/tvbuff_composite.c | 17 |
1 files changed, 17 insertions, 0 deletions
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) { |