From 392a7dfc04475dd440efa70ea4b786a96f282c19 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 4 Jun 2002 07:03:57 +0000 Subject: 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 --- epan/packet.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'epan/packet.h') 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 @@ -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. -- cgit v1.2.1