96951d500c8ed9f54462995d6ff80cf97b0b56c6
[obnox/wireshark/wip.git] / epan / dissectors / packet-h245.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
3 /* .\packet-h245.h                                                            */
4 /* ../../tools/asn2eth.py -X -e -p h245 -c h245.cnf -s packet-h245-template h245.asn */
5
6 /* Input file: packet-h245-template.h */
7
8 /* packet-h245.h
9  * Routines for h245 packet dissection
10  * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
11  *
12  * $Id$
13  *
14  * Ethereal - Network traffic analyzer
15  * By Gerald Combs <gerald@ethereal.com>
16  * Copyright 1998 Gerald Combs
17  *
18  * This program is free software; you can redistribute it and/or
19  * modify it under the terms of the GNU General Public License
20  * as published by the Free Software Foundation; either version 2
21  * of the License, or (at your option) any later version.
22  *
23  * This program is distributed in the hope that it will be useful,
24  * but WITHOUT ANY WARRANTY; without even the implied warranty of
25  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26  * GNU General Public License for more details.
27  *
28  * You should have received a copy of the GNU General Public License
29  * along with this program; if not, write to the Free Software
30  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31  */
32
33 #ifndef PACKET_H245_H
34 #define PACKET_H245_H
35 typedef enum _h245_msg_type {
36         H245_TermCapSet,
37         H245_TermCapSetAck,
38         H245_TermCapSetRjc,
39         H245_TermCapSetRls,
40         H245_OpenLogChn,
41         H245_OpenLogChnCnf,
42         H245_OpenLogChnAck,
43         H245_OpenLogChnRjc,     
44         H245_CloseLogChn,
45         H245_CloseLogChnAck,
46         H245_MastSlvDet,
47         H245_MastSlvDetAck,
48         H245_MastSlvDetRjc,
49         H245_MastSlvDetRls,
50         H245_OTHER
51 } h245_msg_type;
52
53 typedef struct _h245_packet_info {
54         h245_msg_type msg_type;         /* type of message */
55         gchar frame_label[50];          /* the Frame label used by graph_analysis, what is a abreviation of cinfo */
56         gchar comment[50];                      /* the Frame Comment used by graph_analysis, what is a message desc */
57 } h245_packet_info;
58
59
60
61 /*--- Included file: packet-h245-exp.h ---*/
62
63 extern const value_string DataProtocolCapability_vals[];
64 int dissect_h245_DataProtocolCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
65 int dissect_h245_T38FaxProfile(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
66 int dissect_h245_OpenLogicalChannel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
67
68 /*--- End of included file: packet-h245-exp.h ---*/
69
70 void dissect_h245_OpenLogicalChannelCodec(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str);
71
72
73 #endif  /* PACKET_H245_H */
74
75