name change
[obnox/wireshark/wip.git] / asn1 / h235 / packet-h235-template.c
1 /* packet-h235.c
2  * Routines for H.235 packet dissection
3  * 2004  Tomas Kukosa
4  *
5  * $Id$
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald@wireshark.org>
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 #ifdef HAVE_CONFIG_H
27 # include "config.h"
28 #endif
29
30 #include <glib.h>
31 #include <epan/packet.h>
32 #include <epan/conversation.h>
33
34 #include <stdio.h>
35 #include <string.h>
36
37 #include "packet-per.h"
38 #include "packet-h235.h"
39 #include "packet-h225.h"
40
41 #define PNAME  "H235-SECURITY-MESSAGES"
42 #define PSNAME "H.235"
43 #define PFNAME "h235"
44
45 /* Initialize the protocol and registered fields */
46 int proto_h235 = -1;
47 #include "packet-h235-hf.c"
48
49 /* Initialize the subtree pointers */
50 #include "packet-h235-ett.c"
51
52 static guint32
53 dissect_xxx_ToBeSigned(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_) {
54 PER_NOT_DECODED_YET("ToBeSigned");
55   return offset;
56 }
57
58 #include "packet-h235-fn.c"
59
60
61 /*--- proto_register_h235 ----------------------------------------------*/
62 void proto_register_h235(void) {
63
64   /* List of fields */
65   static hf_register_info hf[] = {
66 #include "packet-h235-hfarr.c"
67   };
68
69   /* List of subtrees */
70   static gint *ett[] = {
71 #include "packet-h235-ettarr.c"
72   };
73
74   /* Register protocol */
75   proto_h235 = proto_register_protocol(PNAME, PSNAME, PFNAME);
76
77   /* Register fields and subtrees */
78   proto_register_field_array(proto_h235, hf, array_length(hf));
79   proto_register_subtree_array(ett, array_length(ett));
80
81 }
82
83
84 /*--- proto_reg_handoff_h235 -------------------------------------------*/
85 void proto_reg_handoff_h235(void) {
86 }
87