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

metze at samba.org metze at samba.org
Tue Feb 22 12:54:14 GMT 2005


Author: metze
Date: 2005-02-22 12:54:13 +0000 (Tue, 22 Feb 2005)
New Revision: 5505

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5505

Log:
make usage of bitmap's :-)

metze

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	2005-02-22 12:53:02 UTC (rev 5504)
+++ branches/SAMBA_4_0/source/librpc/idl/spoolss.idl	2005-02-22 12:54:13 UTC (rev 5505)
@@ -543,11 +543,18 @@
 		[relative] nstring *port_name;
 	} spoolss_PortInfo1;
 
+	typedef bitmap {
+		SPOOLSS_PORT_TYPE_WRITE		= 0x00000001,
+		SPOOLSS_PORT_TYPE_READ		= 0x00000002,
+		SPOOLSS_PORT_TYPE_REDIRECTED	= 0x00000004,
+		SPOOLSS_PORT_TYPE_NET_ATTACHED  = 0x00000008
+	} spoolss_PortType;
+
 	typedef struct {
 		[relative] nstring *port_name;
 		[relative] nstring *monitor_name;
 		[relative] nstring *description;
-		uint32 port_type;
+		spoolss_PortType port_type;
 		uint32 reserved;
 	} spoolss_PortInfo2;
 



More information about the samba-cvs mailing list