summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-02-22 12:54:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:52 -0500
commit001dfe73dd3a2d5a19b39525c2a3715923cbc070 (patch)
treed2b9cd53de0247bddc4304ce2e6b47a6e57ff536 /source4
parent9eed5a0cce97e32259ba2e6cf0d1831596ba3703 (diff)
downloadsamba-001dfe73dd3a2d5a19b39525c2a3715923cbc070.tar.gz
samba-001dfe73dd3a2d5a19b39525c2a3715923cbc070.tar.bz2
samba-001dfe73dd3a2d5a19b39525c2a3715923cbc070.zip
r5505: make usage of bitmap's :-)
metze (This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/spoolss.idl9
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 9a9495b046..aff4f25664 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -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;