aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/dcerpc
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-09-27 20:56:15 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-09-27 20:56:15 +0000
commit171a98950ca8744e78463401c6f89504c424f80b (patch)
tree10c112affc1fa32562d68b4b8325704632b44ad9 /epan/dissectors/dcerpc
parent3fbca8aff55e0f9be2dc0e913475da683904c640 (diff)
EFS is generated by PIDL now so we dont need the old idl2wrs folder any more
svn path=/trunk/; revision=19343
Diffstat (limited to 'epan/dissectors/dcerpc')
-rw-r--r--epan/dissectors/dcerpc/efs/Makefile16
-rw-r--r--epan/dissectors/dcerpc/efs/efs.cnf1
-rw-r--r--epan/dissectors/dcerpc/efs/efs.idl108
-rw-r--r--epan/dissectors/dcerpc/efs/template.c80
-rw-r--r--epan/dissectors/dcerpc/efs/template.h36
5 files changed, 0 insertions, 241 deletions
diff --git a/epan/dissectors/dcerpc/efs/Makefile b/epan/dissectors/dcerpc/efs/Makefile
deleted file mode 100644
index 7c1d0a824d..0000000000
--- a/epan/dissectors/dcerpc/efs/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-# $Id$
-
-DISSECTOR_FILES=packet-dcerpc-efs.c packet-dcerpc-efs.h
-
-all: generate_dissector
-
-generate_dissector: $(DISSECTOR_FILES)
-
-$(DISSECTOR_FILES): ../idl2wrs efs.idl efs.cnf template.c template.h
- ../idl2wrs efs
-
-clean:
- rm -f ETH_* $(DISSECTOR_FILES)
-
-copy_files: generate_dissector
- cp $(DISSECTOR_FILES) ../..
diff --git a/epan/dissectors/dcerpc/efs/efs.cnf b/epan/dissectors/dcerpc/efs/efs.cnf
deleted file mode 100644
index 792d600548..0000000000
--- a/epan/dissectors/dcerpc/efs/efs.cnf
+++ /dev/null
@@ -1 +0,0 @@
-#
diff --git a/epan/dissectors/dcerpc/efs/efs.idl b/epan/dissectors/dcerpc/efs/efs.idl
deleted file mode 100644
index d154aab6e8..0000000000
--- a/epan/dissectors/dcerpc/efs/efs.idl
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- IDL definitions from original packet-dcerpc-efs.c
- by Jean-Baptiste Marchand
-*/
-
-[
- uuid("c681d488-d850-11d0-8c52-00c04fd90f7e"),
- version(1.0),
- implicit_handle(handle_t rpc_binding)
- pointer_default(unique)
-] interface efs
-{
-
-WERROR EfsRpcOpenFileRaw(
- [out,ref] policy_handle *pvContext,
- [in] unistr FileName,
- [in] long Flags
- );
-
-WERROR EfsRpcReadFileRaw(
- [in,ref] policy_handle *pvContext
-/* incomplete */
-);
-
-
-WERROR EfsRpcWriteFileRaw(
- [in,ref] policy_handle *pvContext
-/* incomplete */
-);
-
-/*XXX this one is really void, need to fix idl2wrs for this */
-WERROR EfsRpcCloseRaw(
- [in,out,ref] policy_handle *pvContext,
-);
-
-WERROR EfsRpcEncryptFileSrv(
- [in] unistr Filename
-);
-
-WERROR EfsRpcDecryptFileSrv(
- [in] unistr FileName,
- [in] long Reserved
-);
-
-typedef struct {
- long cbData;
- [size_is(cbData), unique] uint8 *pbData;
-} EFS_HASH_BLOB;
-
-typedef struct {
- long cbTotalLength;
- [unique] SID *pUserSid;
- [unique] EFS_HASH_BLOB *pHash;
- [unique] unistr *lpDisplayInformation;
-} ENCRYPTION_CERTIFICATE_HASH;
-
-typedef struct {
- long nCert_Hash;
- /* this is a pointer to an array of pointers */
- [size_is(nCert_Hash)] ENCRYPTION_CERTIFICATE_HASH *pUsers[*];
-} ENCRYPTION_CERTIFICATE_HASH_LIST;
-
-WERROR EfsRpcQueryUsersOnFile(
- [in] unistr FileName,
- [out,ref,unique] ENCRYPTION_CERTIFICATE_HASH_LIST **pUsers
-);
-
-WERROR EfsRpcQueryRecoveryAgents(
- [in] unistr FileName,
- [out,ref,unique] ENCRYPTION_CERTIFICATE_HASH_LIST **pRecoveryAgents
-);
-
-WERROR EfsRpcRemoveUsersFromFile(
- [in] unistr FileName
- /* [in] ENCRYPTION_CERTIFICATE_LIST Hashes*/
-);
-
-WERROR EfsRpcAddUsersToFile(
- [in] unistr FileName
- /* [in] ENCRYPTION_CERTIFICATE_LIST Hashes*/
-);
-
-typedef struct {
- long dwCertEncodingType;
- long cbData;
- [size_is(cbData)] [unique] uint8 *pbData;
-} EFS_CERTIFICATE_BLOB;
-
-typedef struct {
- long TotalLength;
- [unique] SID *pUserSid;
- [unique] EFS_CERTIFICATE_BLOB *pCertBlob;
-} ENCRYPTION_CERTIFICATE;
-
-WERROR EfsRpcSetFileEncryptionKey(
- [in] [unique] ENCRYPTION_CERTIFICATE *pEncryptionCertificate
-);
-
-WERROR EfsRpcNotSupported(
-);
-
-WERROR EfsRpcFileKeyInfo(
-);
-
-WERROR EfsRpcDuplicateEncryptionInfoFile(
-);
-
-}
diff --git a/epan/dissectors/dcerpc/efs/template.c b/epan/dissectors/dcerpc/efs/template.c
deleted file mode 100644
index c0f90d5879..0000000000
--- a/epan/dissectors/dcerpc/efs/template.c
+++ /dev/null
@@ -1,80 +0,0 @@
-/* DO NOT EDIT
- * This dissector is autogenerated
- */
-
-/* packet-dcerpc-efs.c
- * Routines for EFS packet disassembly
- * ronnie sahlberg 2005
- * Autogenerated based on the IDL definitions by
- * Jean-Baptiste Marchand
- *
- * $Id$
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <glib.h>
-#include <string.h>
-
-#include <epan/packet.h>
-#include "packet-dcerpc.h"
-#include "packet-dcerpc-nt.h"
-#include "packet-windows-common.h"
-#include "packet-dcerpc-efs.h"
-
-static int proto_efs = -1;
-ETH_HF
-
-ETH_ETT
-
-ETH_CODE
-
-void
-proto_register_efs(void)
-{
- static hf_register_info hf[] = {
-ETH_HFARR
- };
-
- static gint *ett[] = {
-ETH_ETTARR
- };
-
- proto_efs = proto_register_protocol(
- "Microsoft Encrypted File System Service",
- "EFS", "efs");
- proto_register_field_array(proto_efs, hf, array_length(hf));
- proto_register_subtree_array(ett, array_length(ett));
-}
-
-static dcerpc_sub_dissector function_dissectors[] = {
-ETH_FT
- { 0, NULL, NULL, NULL },
-};
-
-void
-proto_reg_handoff_efs(void)
-{
-ETH_HANDOFF
-}
-
diff --git a/epan/dissectors/dcerpc/efs/template.h b/epan/dissectors/dcerpc/efs/template.h
deleted file mode 100644
index 2d6f6140ff..0000000000
--- a/epan/dissectors/dcerpc/efs/template.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* DO NOT EDIT
- * This dissector is autogenerated
- * ronnie sahlberg 2005
- * Autogenerated based on the IDL definitions by
- * Jean-Baptiste Marchand
- */
-/* packet-dcerpc-efs.h
- * Routines for EFS packet disassembly
- *
- * $Id$
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef __PACKET_DCERPC_EFS_H
-#define __PACKET_DCERPC_EFS_H
-
-ETH_HDR
-
-#endif /* packet-dcerpc-efs.h */