MSWSP: add parse_CNatLanguageRestriction()
[wireshark-wip.git] / asn1 / h323 / packet-h323-template.h
blob596454c6f033b9708420fbde790460bbf108d612
1 /* packet-h323.h
2 * Routines for H.235 packet dissection
3 * 2007 Tomas Kukosa
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef PACKET_H323_H
27 #define PACKET_H323_H
29 /* Generic Extensible Framework */
31 #define GEF_CTX_SIGNATURE 0x47454658 /* "GEFX" */
33 typedef struct _gef_ctx_t {
34 guint32 signature;
35 struct _gef_ctx_t *parent;
36 /*
37 H323-MESSAGES
38 FeatureDescriptor/<id>
39 <id>
40 GenericData/<id>
41 <id>
42 MULTIMEDIA-SYSTEM-CONTROL
43 GenericInformation/<id>[-<subid>]
44 <id>
45 GenericMessage/<id>[-<subid>]
46 <id>
47 GenericCapability/<id>
48 collapsing/<id>
49 nonCollapsing/<id>
50 nonCollapsingRaw
51 EncryptionSync
52 <id>
54 const gchar *type;
55 const gchar *id;
56 const gchar *subid;
57 const gchar *key;
58 } gef_ctx_t;
60 extern gef_ctx_t* gef_ctx_alloc(gef_ctx_t *parent, const gchar *type);
61 extern gboolean gef_ctx_check_signature(gef_ctx_t *gefx);
62 extern gef_ctx_t* gef_ctx_get(void *ptr);
63 extern void gef_ctx_update_key(gef_ctx_t *gefx);
65 #endif /* PACKET_H323_H */