diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-27 02:54:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-27 02:54:44 +0000 |
commit | c9b9dd690bac14b7402283e178d4c3b00f200d41 (patch) | |
tree | 979c246af1b4c25a9281402994c2545eb869eb96 /Makefile.common | |
parent | 6c09e1cf9566a6d21cb0f0df47bf391c2e2ffc84 (diff) |
Create a new frame_data_sequence data type; it represents a dense
sequence of frame_data structures, indexed by the frame number. Extract
the relevant bits of the capture_file data structure and move them to
the frame_data_sequence, and move the relevant code from cfile.c and
tweak it to handle frame_data_sequence structures.
Have a possibly-null pointer to a frame_data_sequence structure in the
capture_file structure; if it's null, we aren't keeping a sequence of
frame_data structures (we don't keep that sequence when we're doing
one-pass processing in TShark).
Nothing in libwireshark should care about a capture_file structure; get
rid of some unnecessary includes of cfile.h.
svn path=/trunk/; revision=36881
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 9767b94c7a..f702baea49 100644 --- a/Makefile.common +++ b/Makefile.common @@ -51,6 +51,7 @@ WIRESHARK_COMMON_SRC = \ cfile.c \ clopts_common.c \ disabled_protos.c \ + frame_data_sequence.c \ packet-range.c \ print.c \ ps.c \ @@ -74,6 +75,7 @@ WIRESHARK_COMMON_INCLUDES = \ disabled_protos.h \ file.h \ fileset.h \ + frame_data_sequence.h \ isprint.h \ packet-range.h \ print.h \ |