summaryrefslogtreecommitdiffstats
path: root/source/include
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
commitbbd7c8071a095c4e410f92489050b677a0f0ace1 (patch)
treea3089df461e0a437e567da354b8c0dcc6f2ea986 /source/include
parent5bfa2e901cbe550990a42544878719c51853548a (diff)
downloadsamba-bbd7c8071a095c4e410f92489050b677a0f0ace1.tar.gz
samba-bbd7c8071a095c4e410f92489050b677a0f0ace1.tar.xz
samba-bbd7c8071a095c4e410f92489050b677a0f0ace1.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.
Diffstat (limited to 'source/include')
-rwxr-xr-xsource/include/rpc_spoolss.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h
index 067acd6c0f3..3a6d6eb9ec6 100755
--- a/source/include/rpc_spoolss.h
+++ b/source/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 */