sq epan/dissectors/pidl/rcg/rcg.cnf
[wireshark-sm.git] / epan / epan_dissect.h
blobe16757f4927a3fe97962790bb5fa1fa6062be2ca
1 /** @file
3 * Wireshark Protocol Analyzer Library
5 * Copyright (c) 2001 by Gerald Combs <gerald@wireshark.org>
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef EPAN_DISSECT_H
11 #define EPAN_DISSECT_H
13 #include "epan.h"
14 #include "tvbuff.h"
15 #include "proto.h"
16 #include "packet_info.h"
18 #ifdef __cplusplus
19 extern "C" {
20 #endif /* __cplusplus */
22 /* Dissection of a single byte array. Holds tvbuff info as
23 * well as proto_tree info. As long as the epan_dissect_t for a byte
24 * array is in existence, you must not free or move that byte array,
25 * as the structures that the epan_dissect_t contains might have pointers
26 * to addresses in your byte array.
28 struct epan_dissect {
29 struct epan_session *session;
30 tvbuff_t *tvb;
31 proto_tree *tree;
32 packet_info pi;
35 #ifdef __cplusplus
37 #endif /* __cplusplus */
39 #endif /* EPAN_DISSECT_H */
42 * Editor modelines - https://www.wireshark.org/tools/modelines.html
44 * Local variables:
45 * c-basic-offset: 8
46 * tab-width: 8
47 * indent-tabs-mode: t
48 * End:
50 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
51 * :indentSize=8:tabSize=8:noTabs=false: