diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-12-06 04:25:09 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-12-06 04:25:09 +0000 |
commit | 6542c181722792d78608f924d087fd1e5ae90377 (patch) | |
tree | 184b82bfdeff9456df17b77f7ecf14b7c3aeec2e /epan/epan.h | |
parent | 2026f857bc17b5af3deac56cb3a875a37e3485b6 (diff) | |
download | wireshark-6542c181722792d78608f924d087fd1e5ae90377.tar.gz wireshark-6542c181722792d78608f924d087fd1e5ae90377.tar.bz2 wireshark-6542c181722792d78608f924d087fd1e5ae90377.zip |
Remove proto_tree from capture_file and PacketWinData, since they
already contain a pointer to an epan_dissect_t, which contains
the proto_tree.
Routines calling epan_dissect_new() do not create their own
proto_tree via proto_tree_create_root(); instead, they pass a boolean
to epan_dissect_new() telling it whether it should create the root
proto_tree.
svn path=/trunk/; revision=4343
Diffstat (limited to 'epan/epan.h')
-rw-r--r-- | epan/epan.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/epan.h b/epan/epan.h index 263f3a806c..7741a2598f 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -1,6 +1,6 @@ /* epan.h * - * $Id: epan.h,v 1.8 2001/11/21 23:16:23 gram Exp $ + * $Id: epan.h,v 1.9 2001/12/06 04:25:08 gram Exp $ * * Ethereal Protocol Analyzer Library * @@ -55,7 +55,8 @@ typedef struct _epan_dissect_t { } epan_dissect_t; epan_dissect_t* -epan_dissect_new(void* pseudo_header, const guint8* data, frame_data *fd, proto_tree *tree); +epan_dissect_new(void* pseudo_header, const guint8* data, frame_data *fd, + gboolean create_proto_tree); void epan_dissect_free(epan_dissect_t* edt); |