1 /* packet-novell_pkis.c
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 #include <epan/packet.h>
25 #include <epan/expert.h>
26 #include <epan/prefs.h>
27 #include <epan/oids.h>
28 #include <epan/conversation.h>
29 #include <epan/asn1.h>
31 #include "packet-per.h"
32 #include "packet-ber.h"
34 #include "packet-novell_pkis-hf.c"
35 #include "packet-novell_pkis-ett.c"
36 #include "packet-novell_pkis-fn.c"
38 void proto_register_novell_pkis (void);
39 void proto_reg_handoff_novell_pkis(void);
41 static int proto_novell_pkis = -1;
43 void proto_reg_handoff_novell_pkis(void)
45 #include "packet-novell_pkis-dis-tab.c"
48 void proto_register_novell_pkis (void)
50 static hf_register_info hf[] = {
51 #include "packet-novell_pkis-hfarr.c"
53 static gint *ett[] = {
54 #include "packet-novell_pkis-ettarr.c"
57 /* execute protocol initialization only once */
58 if (proto_novell_pkis != -1) return;
60 proto_novell_pkis = proto_register_protocol("Novell PKIS ASN.1 type", "novell_pkis", "novell_pkis");
61 proto_register_field_array (proto_novell_pkis, hf, array_length (hf));
62 proto_register_subtree_array (ett, array_length (ett));