summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-02-19 16:40:48 +0100
committerStefan Metzmacher <metze@samba.org>2008-02-21 12:41:55 +0100
commit9f4f4968317c92efee5db5b13f31cb5811c22e9f (patch)
treef4f72c469ea43c52a8b886c97a035f2b3a44fa02 /source4/librpc
parent52623b627ddcaf50347d5cb75c2f2490e73dfe29 (diff)
downloadsamba-9f4f4968317c92efee5db5b13f31cb5811c22e9f.tar.gz
samba-9f4f4968317c92efee5db5b13f31cb5811c22e9f.tar.bz2
samba-9f4f4968317c92efee5db5b13f31cb5811c22e9f.zip
srvsvc.idl: don't use STR_LEN4 anymore
metze (This used to be commit 8c7509bd684ccdabcdb9ad9f75f3dd693ee9c416)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/srvsvc.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 66c52fa43f..8ef49413bc 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -1127,7 +1127,16 @@ import "security.idl", "svcctl.idl";
/* srvsvc_NetDisk */
/**************************/
typedef struct {
- [flag(STR_LEN4)] string disk;
+ /*
+ * In theory this should be:
+ * [charset(UTF16),string] uint16 annotation[3]
+ * But midl treats this as:
+ * [charset(UTF16),string] uint16 annotation[]
+ * and pidl doesn't support this yet
+ */
+ [value(0)] uint32 __disk_offset;
+ [value(strlen(disk)+1)] uint32 __disk_length;
+ [charset(UTF16)] uint16 disk[__disk_length];
} srvsvc_NetDiskInfo0;
typedef struct {