summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-27 11:18:30 +0100
committerGünther Deschner <gd@samba.org>2009-11-27 16:16:00 +0100
commit23d77be6cb8847cbdad859269faf59fea30b27b8 (patch)
tree5b21281c323d993bbd9b6c6e62fd303e28eb9566 /librpc/idl
parent79f82998b1aa8349f76a4c82c17daf7e03cdb41a (diff)
downloadsamba-23d77be6cb8847cbdad859269faf59fea30b27b8.tar.gz
samba-23d77be6cb8847cbdad859269faf59fea30b27b8.tar.bz2
samba-23d77be6cb8847cbdad859269faf59fea30b27b8.zip
misc: mark winreg_Data little-endian except for a REG_DWORD_BIG_ENDIAN.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/misc.idl4
1 files changed, 3 insertions, 1 deletions
diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl
index 5a2bf75a74..adaac9a533 100644
--- a/librpc/idl/misc.idl
+++ b/librpc/idl/misc.idl
@@ -61,11 +61,13 @@ interface misc
REG_QWORD = 11
} winreg_Type;
- typedef [nodiscriminant,public] union {
+ typedef [nodiscriminant,public,flag(NDR_LITTLE_ENDIAN)] union {
[case(REG_NONE)];
[case(REG_SZ)] nstring string;
+ [case(REG_EXPAND_SZ)] nstring string;
[case(REG_BINARY),flag(NDR_REMAINING)] DATA_BLOB binary;
[case(REG_DWORD)] uint32 value;
+ [case(REG_DWORD_BIG_ENDIAN),flag(NDR_BIG_ENDIAN)] uint32 value;
[case(REG_MULTI_SZ)] nstring_array string_array;
[default,flag(NDR_REMAINING)] DATA_BLOB data;
} winreg_Data;