summaryrefslogtreecommitdiffstats
path: root/source3/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-12-04 17:28:51 +0000
committerJim McDonough <jmcd@samba.org>2002-12-04 17:28:51 +0000
commit2dd0e949d0a6bf7cf67250516c7fdc91cda24ea3 (patch)
tree8de09edcd0c56a31d7ab2141e5c4dca5acc02333 /source3/include/rpc_spoolss.h
parent32750d6f7da4939ac9cf96e524384b22e99eb44d (diff)
downloadsamba-2dd0e949d0a6bf7cf67250516c7fdc91cda24ea3.tar.gz
samba-2dd0e949d0a6bf7cf67250516c7fdc91cda24ea3.tar.xz
samba-2dd0e949d0a6bf7cf67250516c7fdc91cda24ea3.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 bbd7c8071a095c4e410f92489050b677a0f0ace1)
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 */