summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-27 07:45:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:50 -0500
commit50465fde65f467b7cc98733e85fd465f1709abc5 (patch)
treeb4ae4c74ce22241ce7f4192cc59cdeb26d3a25b4 /source4/librpc
parent661a4a3f6742cf1d249cb49e78410c4121a5407b (diff)
downloadsamba-50465fde65f467b7cc98733e85fd465f1709abc5.tar.gz
samba-50465fde65f467b7cc98733e85fd465f1709abc5.tar.bz2
samba-50465fde65f467b7cc98733e85fd465f1709abc5.zip
r3287: The devicename and formname fields in a device mode are fixed length
strings. Not sure how to write this as idl which maps to a char * but at least devicemodes can be pulled off the wire sucessfully. (This used to be commit dd20730a09935b0783b020a020ed9283ca1e4608)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/spoolss.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index a22c39e64d..2724154935 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -55,7 +55,7 @@
} spoolss_PrinterInfo0;
typedef struct {
- nstring devicename;
+ uint16 devicename[32];
uint16 specversion;
uint16 driverversion;
uint16 size;
@@ -74,7 +74,7 @@
uint16 yresolution;
uint16 ttoption;
uint16 collate;
- nstring formname;
+ uint16 formname[32];
uint16 logpixels;
uint32 bitsperpel;
uint32 pelswidth;