Some warning fixes for "no previous declaration"
[obnox/wireshark/wip.git] / epan / dissectors / dcerpc / efs / template.c
1 /* DO NOT EDIT
2  * This dissector is autogenerated
3  */
4
5 /* packet-dcerpc-efs.c
6  * Routines for EFS packet disassembly
7  *   ronnie sahlberg 2005
8  * Autogenerated based on the IDL definitions by
9  *   Jean-Baptiste Marchand
10  *
11  * $Id$
12  *
13  * Ethereal - Network traffic analyzer
14  * By Gerald Combs <gerald@ethereal.com>
15  * Copyright 1998 Gerald Combs
16  *
17  * This program is free software; you can redistribute it and/or
18  * modify it under the terms of the GNU General Public License
19  * as published by the Free Software Foundation; either version 2
20  * of the License, or (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful,
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25  * GNU General Public License for more details.
26  *
27  * You should have received a copy of the GNU General Public License
28  * along with this program; if not, write to the Free Software
29  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
30  */
31
32 #ifdef HAVE_CONFIG_H
33 #include "config.h"
34 #endif
35
36 #include <glib.h>
37 #include <string.h>
38
39 #include <epan/packet.h>
40 #include "packet-dcerpc.h"
41 #include "packet-dcerpc-nt.h"
42 #include "packet-windows-common.h"
43 #include "packet-dcerpc-efs.h"
44
45 static int proto_efs = -1;
46 ETH_HF
47
48 ETH_ETT
49
50 ETH_CODE
51
52 void
53 proto_register_efs(void)
54 {
55         static hf_register_info hf[] = {
56 ETH_HFARR
57         };
58
59         static gint *ett[] = {
60 ETH_ETTARR
61         };
62
63         proto_efs = proto_register_protocol(
64                 "Microsoft Encrypted File System Service", 
65                 "EFS", "efs");
66         proto_register_field_array(proto_efs, hf, array_length(hf));
67         proto_register_subtree_array(ett, array_length(ett));
68 }
69
70 static dcerpc_sub_dissector function_dissectors[] = {
71 ETH_FT
72         { 0, NULL, NULL, NULL },
73 };
74
75 void
76 proto_reg_handoff_efs(void)
77 {
78 ETH_HANDOFF
79 }
80