Regenerate all asn2wrs generated dissectors.
[obnox/wireshark/wip.git] / epan / dissectors / packet-h323.h
1 /* Do not modify this file.                                                   */
2 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
3 /* packet-h323.h                                                              */
4 /* ../../tools/asn2wrs.py -p h323 -c ./h323.cnf -s ./packet-h323-template -D . RAS-PROTOCOL-TUNNEL.asn ROBUSTNESS-DATA.asn */
5
6 /* Input file: packet-h323-template.h */
7
8 #line 1 "packet-h323-template.h"
9 /* packet-h323.h
10  * Routines for H.235 packet dissection
11  * 2007  Tomas Kukosa
12  *
13  * $Id$
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * This program is free software; you can redistribute it and/or
20  * modify it under the terms of the GNU General Public License
21  * as published by the Free Software Foundation; either version 2
22  * of the License, or (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program; if not, write to the Free Software
31  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32  */
33
34 #ifndef PACKET_H323_H
35 #define PACKET_H323_H
36
37 /* Generic Extensible Framework */
38
39 #define GEF_CTX_SIGNATURE 0x47454658  /* "GEFX" */
40
41 typedef struct _gef_ctx_t {
42   guint32 signature;
43   struct _gef_ctx_t *parent;
44   /* 
45     H323-MESSAGES
46       FeatureDescriptor/<id>
47         <id>
48       GenericData/<id>
49         <id>
50     MULTIMEDIA-SYSTEM-CONTROL
51       GenericInformation/<id>[-<subid>]
52         <id>
53       GenericMessage/<id>[-<subid>]
54         <id>
55       GenericCapability/<id>
56         collapsing/<id>
57         nonCollapsing/<id>
58         nonCollapsingRaw
59       EncryptionSync
60         <id>
61   */
62   const gchar *type;
63   const gchar *id;
64   const gchar *subid;
65   const gchar *key;
66 } gef_ctx_t;
67
68 extern gef_ctx_t* gef_ctx_alloc(gef_ctx_t *parent, const gchar *type);
69 extern gboolean gef_ctx_check_signature(gef_ctx_t *gefx);
70 extern gef_ctx_t* gef_ctx_get(void *ptr);
71 extern void gef_ctx_update_key(gef_ctx_t *gefx);
72
73 #endif  /* PACKET_H323_H */
74