summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-01-30 15:55:18 +0100
committerDavid Disseldorp <ddiss@samba.org>2013-05-20 18:50:00 +0200
commit229108e26645e121fa5ec06911f573dce8198c07 (patch)
treed59638ae4ef31872b7f91fc3c796f19f68448815 /librpc
parent393ad20577c7fa66928ecb34bc8b323feb881ea5 (diff)
downloadsamba-229108e26645e121fa5ec06911f573dce8198c07.tar.gz
samba-229108e26645e121fa5ec06911f573dce8198c07.tar.bz2
samba-229108e26645e121fa5ec06911f573dce8198c07.zip
spoolss: fix string types in spoolss_JTEXP.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/spoolss.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 57e6b49798..0a3e27a0f4 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -428,9 +428,9 @@ cpp_quote("#define spoolss_security_descriptor security_descriptor")
[value(SPOOLSS_DM_SIGNATURE_JTEXP)] spoolss_DM_Signature dwSignature;
[value(0)] uint32 dwVersion;
[value(16)] uint16 wJTHdrSize;
- uint16 wCoreMFOSize;
- [string,charset(UTF16)] uint16 *ModelName;
- nstring_array FeatureOptionPairs;
+ uint16 wCoreMFOSize; /* must be sizeof the two following elements, must be dwSize - 16*/
+ nstring ModelName;
+ [flag(STR_UTF8|STR_NULLTERM|NDR_REMAINING)] string_array FeatureOptionPairs;
} spoolss_JTEXP;
/* Device Mode Extra Data: OEM_DMEXTRA */