removed some gcc warnings (hopefully)
[obnox/wireshark/wip.git] / epan / dissectors / packet-h245.h
1 /* packet-h245.h
2  * Routines for H.245 packet dissection
3  * 2003  Ronnie Sahlberg
4  *
5  * $Id$
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 typedef enum _h245_msg_type {
27         H245_TermCapSet,
28         H245_TermCapSetAck,
29         H245_TermCapSetRjc,
30         H245_TermCapSetRls,
31         H245_OpenLogChn,
32         H245_OpenLogChnCnf,
33         H245_OpenLogChnAck,
34         H245_OpenLogChnRjc,     
35         H245_CloseLogChn,
36         H245_CloseLogChnAck,
37         H245_MastSlvDet,
38         H245_MastSlvDetAck,
39         H245_MastSlvDetRjc,
40         H245_MastSlvDetRls,
41         H245_OTHER
42 } h245_msg_type;
43
44 typedef struct _h245_packet_info {
45         h245_msg_type msg_type;         /* type of message */
46 } h245_packet_info;
47
48
49 extern void dissect_h245_MultimediaSystemControlMessage(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
50
51 extern int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
52
53 extern int dissect_h245_h221NonStandard(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
54
55 extern int dissect_h245_NonStandardParameter(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
56
57 extern int dissect_h245_T38FaxProfile(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);
58
59 extern int dissect_h245_DataProtocolCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree);