NAS EPS: upgrade dissector to v13.5.0
[metze/wireshark/wip.git] / epan / epan_dissect.h
1 /* epan_dissect.h
2  *
3  * Wireshark Protocol Analyzer Library
4  *
5  * Copyright (c) 2001 by Gerald Combs <gerald@wireshark.org>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef EPAN_DISSECT_H
23 #define EPAN_DISSECT_H
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* __cplusplus */
28
29 #include "epan.h"
30 #include "tvbuff.h"
31 #include "proto.h"
32 #include "packet_info.h"
33
34 /* Dissection of a single byte array. Holds tvbuff info as
35  * well as proto_tree info. As long as the epan_dissect_t for a byte
36  * array is in existence, you must not free or move that byte array,
37  * as the structures that the epan_dissect_t contains might have pointers
38  * to addresses in your byte array.
39  */
40 struct epan_dissect {
41         struct epan_session *session;
42         tvbuff_t        *tvb;
43         proto_tree      *tree;
44         packet_info     pi;
45 };
46
47 #ifdef __cplusplus
48 }
49 #endif /* __cplusplus */
50
51 #endif /* EPAN_DISSECT_H */
52
53 /*
54  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
55  *
56  * Local variables:
57  * c-basic-offset: 8
58  * tab-width: 8
59  * indent-tabs-mode: t
60  * End:
61  *
62  * vi: set shiftwidth=8 tabstop=8 noexpandtab:
63  * :indentSize=8:tabSize=8:noTabs=false:
64  */