summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-07 00:55:35 +0000
committerJeremy Allison <jra@samba.org>2003-08-07 00:55:35 +0000
commit8d94de787e954f4dca2b805ff974412b1f532f10 (patch)
tree7a5bc726d57addfe300926f0173b8a584d1e7668 /source3/include
parentef65d2655622506bcc4e65fd070af0f816e455e2 (diff)
downloadsamba-8d94de787e954f4dca2b805ff974412b1f532f10.tar.gz
samba-8d94de787e954f4dca2b805ff974412b1f532f10.tar.bz2
samba-8d94de787e954f4dca2b805ff974412b1f532f10.zip
Patch from waider@waider.ie to print out Port Type.
Jeremy. (This used to be commit 8516baf58d333a54bcbe1c1a08eee499b3dd2636)
Diffstat (limited to 'source3/include')
-rwxr-xr-xsource3/include/rpc_spoolss.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index c2e3d92787..f96b4fa96a 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -1302,6 +1302,12 @@ typedef struct s_port_info_2
}
PORT_INFO_2;
+/* Port Type bits */
+#define PORT_TYPE_WRITE 0x0001
+#define PORT_TYPE_READ 0x0002
+#define PORT_TYPE_REDIRECTED 0x0004
+#define PORT_TYPE_NET_ATTACHED 0x0008
+
typedef struct spool_q_enumports
{
uint32 name_ptr;