diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-21 14:51:13 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-21 14:51:13 +0200 |
commit | 5209a846a9157e649fcdcb561f7eaf19c8c0e465 (patch) | |
tree | b0a7e52b5646c8eec182dbc391e7934b6804488c /source4/librpc/idl/efs.idl | |
parent | 625359b2e266105022309df8985720108ecd6f67 (diff) | |
parent | 2ee8d29d22bcb1c350ab59d71b0aee548489bc9c (diff) | |
download | samba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.tar.gz samba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.tar.bz2 samba-5209a846a9157e649fcdcb561f7eaf19c8c0e465.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
Conflicts:
source4/lib/registry/ldb.c
source4/rpc_server/winreg/rpc_winreg.c
Diffstat (limited to 'source4/librpc/idl/efs.idl')
-rw-r--r-- | source4/librpc/idl/efs.idl | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/source4/librpc/idl/efs.idl b/source4/librpc/idl/efs.idl deleted file mode 100644 index 4279b08d13..0000000000 --- a/source4/librpc/idl/efs.idl +++ /dev/null @@ -1,108 +0,0 @@ -/* - IDL definitions from original packet-dcerpc-efs.c - by Jean-Baptiste Marchand -*/ - -import "security.idl"; - -[ - uuid("c681d488-d850-11d0-8c52-00c04fd90f7e"), - version(1.0), - pointer_default(unique) -] interface efs -{ - -WERROR EfsRpcOpenFileRaw( - [out,ref] policy_handle *pvContext, - [in] [charset(UTF16),string] uint16 FileName[], - [in] uint32 Flags - ); - -[todo] WERROR EfsRpcReadFileRaw( - [in,ref] policy_handle *pvContext -/* incomplete */ -); - - -[todo] WERROR EfsRpcWriteFileRaw( - [in,ref] policy_handle *pvContext -/* incomplete */ -); - -void EfsRpcCloseRaw( - [in,out,ref] policy_handle *pvContext -); - -WERROR EfsRpcEncryptFileSrv( - [in] [charset(UTF16),string] uint16 Filename[] -); - -WERROR EfsRpcDecryptFileSrv( - [in] [charset(UTF16),string] uint16 FileName[], - [in] uint32 Reserved -); - -typedef struct { - uint32 cbData; - [size_is(cbData), unique] uint8 *pbData; -} EFS_HASH_BLOB; - -typedef struct { - uint32 cbTotalLength; - [unique] dom_sid *pUserSid; - [unique] EFS_HASH_BLOB *pHash; - [unique] [charset(UTF16),string] uint16 *lpDisplayInformation; -} ENCRYPTION_CERTIFICATE_HASH; - -typedef struct { - uint32 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] [charset(UTF16),string] uint16 FileName[], - [out,ref,unique] ENCRYPTION_CERTIFICATE_HASH_LIST **pUsers -); - -WERROR EfsRpcQueryRecoveryAgents( - [in] [charset(UTF16),string] uint16 FileName[], - [out,ref,unique] ENCRYPTION_CERTIFICATE_HASH_LIST **pRecoveryAgents -); - -[todo] WERROR EfsRpcRemoveUsersFromFile( - [in] [charset(UTF16),string] uint16 FileName[] - /* [in] ENCRYPTION_CERTIFICATE_LIST Hashes*/ -); - -[todo] WERROR EfsRpcAddUsersToFile( - [in] [charset(UTF16),string] uint16 FileName[] - /* [in] ENCRYPTION_CERTIFICATE_LIST Hashes*/ -); - -typedef struct { - uint32 dwCertEncodingType; - uint32 cbData; - [size_is(cbData)] [unique] uint8 *pbData; -} EFS_CERTIFICATE_BLOB; - -typedef struct { - uint32 TotalLength; - [unique] dom_sid *pUserSid; - [unique] EFS_CERTIFICATE_BLOB *pCertBlob; -} ENCRYPTION_CERTIFICATE; - -WERROR EfsRpcSetFileEncryptionKey( - [in] [unique] ENCRYPTION_CERTIFICATE *pEncryptionCertificate -); - -[todo] WERROR EfsRpcNotSupported( -); - -[todo] WERROR EfsRpcFileKeyInfo( -); - -[todo] WERROR EfsRpcDuplicateEncryptionInfoFile( -); - -} |