svn commit: samba r3287 - in branches/SAMBA_4_0/source/librpc/idl: .

tpot at samba.org tpot at samba.org
Wed Oct 27 07:45:53 GMT 2004


Author: tpot
Date: 2004-10-27 07:45:52 +0000 (Wed, 27 Oct 2004)
New Revision: 3287

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/idl&rev=3287&nolog=1

Log:
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.

Modified:
   branches/SAMBA_4_0/source/librpc/idl/spoolss.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/spoolss.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/spoolss.idl	2004-10-27 05:30:29 UTC (rev 3286)
+++ branches/SAMBA_4_0/source/librpc/idl/spoolss.idl	2004-10-27 07:45:52 UTC (rev 3287)
@@ -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;



More information about the samba-cvs mailing list