summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-01 02:38:19 +0100
committerGünther Deschner <gd@samba.org>2009-12-02 14:36:36 +0100
commit91bb0659776d397bc4b8ca7a534f6f2327e2e6fe (patch)
tree7a204903465d647a0d8d5ddf9dde344295d1ba59 /librpc/idl
parent53744f01dc7f74f87e4c71057cc175e4c47d3a67 (diff)
downloadsamba-91bb0659776d397bc4b8ca7a534f6f2327e2e6fe.tar.gz
samba-91bb0659776d397bc4b8ca7a534f6f2327e2e6fe.tar.bz2
samba-91bb0659776d397bc4b8ca7a534f6f2327e2e6fe.zip
s3-spoolss: move MAXDEVICENAME to spoolss idl.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/spoolss.idl6
1 files changed, 4 insertions, 2 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index bb517a10e1..0e71e1a6bc 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -368,8 +368,10 @@ import "misc.idl", "security.idl", "winreg.idl";
DMDITHER_GRAYSCALE = 0x0000000A
} spoolss_DeviceModeDitherType;
+ const int MAXDEVICENAME = 32;
+
typedef [public,gensize] struct {
- [charset(UTF16)] uint16 devicename[32];
+ [charset(UTF16)] uint16 devicename[MAXDEVICENAME];
spoolss_DeviceModeSpecVersion specversion;
uint16 driverversion;
uint16 size;
@@ -388,7 +390,7 @@ import "misc.idl", "security.idl", "winreg.idl";
uint16 yresolution;
spoolss_DeviceModeTTOption ttoption;
spoolss_DeviceModeCollate collate;
- [charset(UTF16)] uint16 formname[32];
+ [charset(UTF16)] uint16 formname[MAXDEVICENAME];
uint16 logpixels; /* reserved */
uint32 bitsperpel; /* reserved */
uint32 pelswidth; /* reserved */