1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -b -p h248 -c h248.cnf -s packet-h248-template h248v3.asn */
6 /* Input file: packet-h248-template.h */
8 #line 1 "packet-h248-template.h"
10 * Definitions for H.248/MEGACO packet dissection
12 * Ronnie Sahlberg 2004
17 * Wireshark - Network traffic analyzer
18 * By Gerald Combs <gerald@wireshark.org>
19 * Copyright 1998 Gerald Combs
21 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License
23 * as published by the Free Software Foundation; either version 2
24 * of the License, or (at your option) any later version.
26 * This program is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with this program; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40 /*#include "packet-h248-exp.h"*/
42 typedef struct _h248_curr_info_t h248_curr_info_t;
44 typedef void (*h248_pkg_param_dissector_t)(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo _U_, int hfid, h248_curr_info_t*, void*);
46 extern void h248_param_item(proto_tree*, tvbuff_t*, packet_info* , int, h248_curr_info_t*,void* ignored);
47 extern void h248_param_ber_integer(proto_tree*, tvbuff_t*, packet_info* , int, h248_curr_info_t*,void* ignored);
48 extern void h248_param_ber_octetstring(proto_tree*, tvbuff_t*, packet_info* , int, h248_curr_info_t*,void* ignored);
49 extern void h248_param_ber_boolean(proto_tree*, tvbuff_t*, packet_info* , int, h248_curr_info_t*,void* ignored);
50 extern void external_dissector(proto_tree*, tvbuff_t*, packet_info* , int, h248_curr_info_t*,void* dissector_handle);
51 extern void h248_param_PkgdName(proto_tree* tree, tvbuff_t* tvb, packet_info* pinfo , int hfid _U_, h248_curr_info_t* u _U_, void* dissector_hdl);
53 typedef struct _h248_pkg_param_t {
56 h248_pkg_param_dissector_t dissector;
60 typedef struct _h248_pkg_sig_t {
64 const h248_pkg_param_t* parameters;
65 const value_string* param_names;
68 typedef struct _h248_pkg_evt_t {
72 const h248_pkg_param_t* parameters;
73 const value_string* param_names;
76 typedef struct _h248_pkg_stat_t {
80 const h248_pkg_param_t* parameters;
81 const value_string* param_names;
84 typedef struct _h248_package_t {
88 const value_string* param_names;
89 const value_string* signal_names;
90 const value_string* event_names;
91 const value_string* stats_names;
92 const h248_pkg_param_t* properties;
93 const h248_pkg_sig_t* signals;
94 const h248_pkg_evt_t* events;
95 const h248_pkg_stat_t* statistics;
98 struct _h248_curr_info_t {
104 const h248_package_t* pkg;
105 const h248_pkg_evt_t* evt;
106 const h248_pkg_sig_t* sig;
107 const h248_pkg_stat_t* stat;
108 const h248_pkg_param_t* par;
111 void h248_register_package(const h248_package_t*);
113 #endif /* PACKET_H248_H */