change the signature that asn2wrs generates for functions to marm all parameters...
[obnox/wireshark/wip.git] / epan / dissectors / packet-rmt-common.h
1 /* packet-rmt-common.h
2  * Reliable Multicast Transport (RMT)
3  * Common RMT function definitions
4  * Copyright 2005, Stefano Pettini <spettini@users.sourceforge.net>
5  *
6  * $Id$
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  * 
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  * 
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25  */
26  
27 #ifndef __PACKET_RMT_COMMON__
28 #define __PACKET_RMT_COMMON__
29
30 /* Boolean string tables external references */
31 extern const true_false_string boolean_set_notset;
32 extern const true_false_string boolean_yes_no;
33
34 /* Type definitions */
35 /* ================ */
36
37 /* Logical header extension representation */
38 struct _ext
39 {
40         guint offset;
41         guint length;
42         
43         guint8 het;
44         guint8 hel;
45         
46         guint hec_offset;
47         guint8 hec_size;
48 };
49
50 /* Common RMT exported functions */
51 /* ============================= */
52
53 void rmt_ext_parse(GArray *a, tvbuff_t *tvb, guint *offset, guint offset_max);
54
55 void rmt_ext_decode_default(struct _ext *e, tvbuff_t *tvb, proto_tree *tree, gint ett);
56 void rmt_ext_decode_default_subtree(struct _ext *e, tvbuff_t *tvb, proto_tree *tree, gint ett);
57 void rmt_ext_decode_default_header(struct _ext *e, tvbuff_t *tvb, proto_tree *tree);
58
59 #endif