summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-21 13:06:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:06 -0500
commit568dd26ac783385c1c2a69a392f5a569ebdd13a2 (patch)
tree98ab505f479cd0c56c0dea4bb26e8742973af3b0 /source4/librpc/idl
parent29a3b138a2781f899ee32e278d683532a630b940 (diff)
downloadsamba-568dd26ac783385c1c2a69a392f5a569ebdd13a2.tar.gz
samba-568dd26ac783385c1c2a69a392f5a569ebdd13a2.tar.bz2
samba-568dd26ac783385c1c2a69a392f5a569ebdd13a2.zip
r11243: length and size can now be filled in automatically.
(This used to be commit 99444c129d08fe3e3e381b04c2da5ea5c9c10270)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/winreg.idl7
1 files changed, 2 insertions, 5 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index ca68669ac7..2948b28b73 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -130,11 +130,8 @@
);
typedef struct {
- /* we can't use value(strlen_m(name)*2) here as it
- doesn't propogate to the length_is() property
- below. Jelmer, can this be fixed? */
- uint16 length;
- uint16 size;
+ [value(strlen_m(name)*2)] uint16 length;
+ [value(strlen_m(name)*2)] uint16 size;
[size_is(size/2),length_is(length/2),charset(UTF16)] uint16 *name;
} winreg_StringBuf;