aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-12-06 04:25:09 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-12-06 04:25:09 +0000
commit6542c181722792d78608f924d087fd1e5ae90377 (patch)
tree184b82bfdeff9456df17b77f7ecf14b7c3aeec2e /epan/epan.h
parent2026f857bc17b5af3deac56cb3a875a37e3485b6 (diff)
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.h5
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);