2011-04-27 02:54:44 +00:00
|
|
|
/* frame_data_sequence.h
|
|
|
|
* Implements a sequence of frame_data structures
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2011-04-27 02:54:44 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FRAME_DATA_SEQUENCE_H__
|
|
|
|
#define __FRAME_DATA_SEQUENCE_H__
|
|
|
|
|
2012-12-17 23:03:21 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2011-04-27 04:11:37 +00:00
|
|
|
typedef struct _frame_data_sequence frame_data_sequence;
|
2011-04-27 02:54:44 +00:00
|
|
|
|
2013-07-11 23:57:11 +00:00
|
|
|
WS_DLL_PUBLIC frame_data_sequence *new_frame_data_sequence(void);
|
2011-04-27 02:54:44 +00:00
|
|
|
|
2013-07-11 23:57:11 +00:00
|
|
|
WS_DLL_PUBLIC frame_data *frame_data_sequence_add(frame_data_sequence *fds,
|
2011-04-27 02:54:44 +00:00
|
|
|
frame_data *fdata);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Find the frame_data for the specified frame number.
|
|
|
|
*/
|
2013-07-11 23:57:11 +00:00
|
|
|
WS_DLL_PUBLIC frame_data *frame_data_sequence_find(frame_data_sequence *fds,
|
2011-04-27 02:54:44 +00:00
|
|
|
guint32 num);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Free a frame_data_sequence and all the frame_data structures in it.
|
|
|
|
*/
|
2013-07-11 23:57:11 +00:00
|
|
|
WS_DLL_PUBLIC void free_frame_data_sequence(frame_data_sequence *fds);
|
2011-04-27 02:54:44 +00:00
|
|
|
|
2013-07-11 23:57:11 +00:00
|
|
|
WS_DLL_PUBLIC void find_and_mark_frame_depended_upon(gpointer data, gpointer user_data);
|
2013-03-27 17:14:42 +00:00
|
|
|
|
|
|
|
|
2012-12-17 23:03:21 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __FRAME_DATA_SEQUENCE_H__ */
|