1 /* Do not modify this file. */
2 /* It is created automatically by the ASN.1 to Ethereal dissector compiler */
4 /* ../../tools/asn2eth.py -X -b -e -p h248 -c h248.cnf -s packet-h248-template MEGACO.asn */
6 /* Input file: packet-h248-template.h */
9 * Routines for H.248/MEGACO packet dissection
10 * Ronnie Sahlberg 2004
14 * Ethereal - Network traffic analyzer
15 * By Gerald Combs <gerald@ethereal.com>
16 * Copyright 1998 Gerald Combs
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.
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.
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.
36 /*#include "packet-h248-exp.h"*/
58 /* per command info */
59 typedef struct _h248_cmd_info_t h248_cmd_info_t;
61 /* per context info */
62 typedef struct _h248_context_info_t h248_context_info_t;
64 /* per command message info */
65 typedef struct _h248_cmdmsg_info_t {
66 guint32 transaction_id;
69 h248_cmd_type_t cmd_type;
70 h248_msg_type_t msg_type;
72 gboolean term_is_wildcard;
74 h248_cmd_info_t* cmd_info;
78 struct _h248_cmd_info_t {
91 h248_context_info_t* context;
93 h248_cmd_info_t* next;
94 h248_cmd_info_t* last;
97 struct _h248_context_info_t {
102 guint creation_frame;
105 h248_cmd_info_t* cmds;
106 h248_context_info_t* prior;
109 typedef void (*h248_dissect_pkg_item_t)(gboolean implicit_tag, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
111 extern void h248_add_package_property(guint package, guint property, h248_dissect_pkg_item_t);
112 extern void h248_add_package_event(guint package, guint property, h248_dissect_pkg_item_t);
113 extern void h248_add_package_signal(guint package, guint property, h248_dissect_pkg_item_t);
115 #endif /* PACKET_H248_H */