summaryrefslogtreecommitdiff
path: root/source3/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-12-04 17:40:50 +0000
committerJim McDonough <jmcd@samba.org>2002-12-04 17:40:50 +0000
commitdae62a3d2ed67998a77ec0ffe4f1540bdcc4fe40 (patch)
tree7dd9129dac416025c2dd62c629939e65c7f19a26 /source3/include/rpc_spoolss.h
parentc37f794f2218c1d7c574aff8dd8771af6b459ac3 (diff)
downloadsamba-dae62a3d2ed67998a77ec0ffe4f1540bdcc4fe40.tar.gz
samba-dae62a3d2ed67998a77ec0ffe4f1540bdcc4fe40.tar.bz2
samba-dae62a3d2ed67998a77ec0ffe4f1540bdcc4fe40.zip
Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
(This used to be commit ca6360e8db30fc9be3fe3718c8b49c92dba5ecac)
Diffstat (limited to 'source3/include/rpc_spoolss.h')
-rwxr-xr-xsource3/include/rpc_spoolss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index 067acd6c0f..3a6d6eb9ec 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -989,6 +989,11 @@ typedef struct printer_info_5
}
PRINTER_INFO_5;
+#define SPOOL_DS_PUBLISH 1
+#define SPOOL_DS_UPDATE 2
+#define SPOOL_DS_UNPUBLISH 3
+#define SPOOL_DS_REPUBLISH 4
+
typedef struct printer_info_7
{
UNISTR guid; /* text form of printer guid */