aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frame_set.h
blob: 213d140d8e35695fd3cec6bbb333eef33d01ab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* frame_set.h
 * Definition of frame_set structure.  It holds information about a
 * fdfdkfslf;ajkdf
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0+
 */

#ifndef __EPAN_FRAME_SET_H__
#define __EPAN_FRAME_SET_H__

#include <epan/frame_data.h>
#include <epan/frame_data_sequence.h>

#include "ws_symbol_export.h"

typedef struct {
  wtap        *wth;                  /* Wiretap session */
  const frame_data *ref;
  frame_data  *prev_dis;
  frame_data  *prev_cap;
  frame_data_sequence *frames;       /* Sequence of frames, if we're keeping that information */
  GTree       *frames_user_comments; /* BST with user comments for frames (key = frame_data) */
} frame_set;

WS_DLL_PUBLIC const char *frame_set_get_interface_name(frame_set *fs, guint32 interface_id);
WS_DLL_PUBLIC const char *frame_set_get_interface_description(frame_set *fs, guint32 interface_id);

#endif /* frame_set.h */