1 /* frame_data_sequence.h
2  * Implements a sequence of frame_data structures
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __FRAME_DATA_SEQUENCE_H__
12 #define __FRAME_DATA_SEQUENCE_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif /* __cplusplus */
17 
18 typedef struct _frame_data_sequence frame_data_sequence;
19 
20 WS_DLL_PUBLIC frame_data_sequence *new_frame_data_sequence(void);
21 
22 WS_DLL_PUBLIC frame_data *frame_data_sequence_add(frame_data_sequence *fds,
23     frame_data *fdata);
24 
25 /*
26  * Find the frame_data for the specified frame number.
27  */
28 WS_DLL_PUBLIC frame_data *frame_data_sequence_find(frame_data_sequence *fds,
29     guint32 num);
30 
31 /*
32  * Free a frame_data_sequence and all the frame_data structures in it.
33  */
34 WS_DLL_PUBLIC void free_frame_data_sequence(frame_data_sequence *fds);
35 
36 WS_DLL_PUBLIC void find_and_mark_frame_depended_upon(gpointer data, gpointer user_data);
37 
38 
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42 
43 #endif /* __FRAME_DATA_SEQUENCE_H__ */
44