summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-06 04:01:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:26 -0500
commit7603394aecbd71227ec0ca4719261a876f9925d3 (patch)
tree70db5e78b013bc6a0002aad33397de447aa14f10 /source4/librpc
parent97eac1a46a38eb5ae9e9d15caa96d1c3e1fb57dd (diff)
downloadsamba-7603394aecbd71227ec0ca4719261a876f9925d3.tar.gz
samba-7603394aecbd71227ec0ca4719261a876f9925d3.tar.bz2
samba-7603394aecbd71227ec0ca4719261a876f9925d3.zip
r9162: Fix a couple of data types
(This used to be commit 7329dd25f509a5db92ee70713fa0b2a2473ae8cb)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/efs.idl22
1 files changed, 12 insertions, 10 deletions
diff --git a/source4/librpc/idl/efs.idl b/source4/librpc/idl/efs.idl
index 8559a6f2cd..310e3522b1 100644
--- a/source4/librpc/idl/efs.idl
+++ b/source4/librpc/idl/efs.idl
@@ -1,3 +1,4 @@
+#include "idl_types.h"
/*
IDL definitions from original packet-dcerpc-efs.c
by Jean-Baptiste Marchand
@@ -6,6 +7,7 @@
[
uuid("c681d488-d850-11d0-8c52-00c04fd90f7e"),
version(1.0),
+ depends(security),
pointer_default(unique)
] interface efs
{
@@ -13,7 +15,7 @@
WERROR EfsRpcOpenFileRaw(
[out,ref] policy_handle *pvContext,
[in] unistr FileName,
- [in] long Flags
+ [in] uint32 Flags
);
WERROR EfsRpcReadFileRaw(
@@ -37,23 +39,23 @@ WERROR EfsRpcEncryptFileSrv(
WERROR EfsRpcDecryptFileSrv(
[in] unistr FileName,
- [in] long Reserved
+ [in] uint32 Reserved
);
typedef struct {
- long cbData;
+ uint32 cbData;
[size_is(cbData), unique] uint8 *pbData;
} EFS_HASH_BLOB;
typedef struct {
- long cbTotalLength;
- [unique] SID *pUserSid;
+ uint32 cbTotalLength;
+ [unique] dom_sid *pUserSid;
[unique] EFS_HASH_BLOB *pHash;
[unique] unistr *lpDisplayInformation;
} ENCRYPTION_CERTIFICATE_HASH;
typedef struct {
- long nCert_Hash;
+ uint32 nCert_Hash;
/* this is a pointer to an array of pointers */
[size_is(nCert_Hash)] ENCRYPTION_CERTIFICATE_HASH *pUsers[*];
} ENCRYPTION_CERTIFICATE_HASH_LIST;
@@ -79,14 +81,14 @@ WERROR EfsRpcAddUsersToFile(
);
typedef struct {
- long dwCertEncodingType;
- long cbData;
+ uint32 dwCertEncodingType;
+ uint32 cbData;
[size_is(cbData)] [unique] uint8 *pbData;
} EFS_CERTIFICATE_BLOB;
typedef struct {
- long TotalLength;
- [unique] SID *pUserSid;
+ uint32 TotalLength;
+ [unique] dom_sid *pUserSid;
[unique] EFS_CERTIFICATE_BLOB *pCertBlob;
} ENCRYPTION_CERTIFICATE;