summaryrefslogtreecommitdiff
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-06-04 07:03:57 +0000
committerGuy Harris <guy@alum.mit.edu>2002-06-04 07:03:57 +0000
commit392a7dfc04475dd440efa70ea4b786a96f282c19 (patch)
tree98dc21a0a82fcaed9cd383f9659adc50973f242a /epan/packet.h
parent1155a2fb437b43521367b7c75b9b5cb0a6a2de72 (diff)
downloadwireshark-392a7dfc04475dd440efa70ea4b786a96f282c19.tar.gz
Get rid of the "data_src" member of the "frame_data" structure; put it
in the "packet_info" structure instead, as we don't need a pointer for every single frame in the capture file, just for each frame for which we currently have an open "epan_dissect_t". svn path=/trunk/; revision=5614
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 1b4900bfdc..fe8f749854 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.56 2002/05/09 23:50:28 gram Exp $
+ * $Id: packet.h,v 1.57 2002/06/04 07:03:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -266,12 +266,13 @@ final_registration_all_protocols(void);
* Add a new data source to the list of data sources for a frame, given
* the tvbuff for the data source and its name.
*/
-extern void add_new_data_source(frame_data *fd, tvbuff_t *tvb, char *name);
+extern void add_new_data_source(packet_info *pinfo, tvbuff_t *tvb,
+ char *name);
/*
* Free up a frame's list of data sources.
*/
-extern void free_data_sources(frame_data *fd);
+extern void free_data_sources(packet_info *pinfo);
/*
* Dissectors should never modify the packet data.