diff options
author | Jim McDonough <jmcd@samba.org> | 2002-12-13 19:01:27 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-12-13 19:01:27 +0000 |
commit | 81a2a307392a12e5ec464e524d2948611e23b943 (patch) | |
tree | 5c5ed8973d98d535b5553f2a4f84307a8a3f03c0 /source3/include | |
parent | 899b6e6d0facd1ef5865ce550fadd292514955d6 (diff) | |
download | samba-81a2a307392a12e5ec464e524d2948611e23b943.tar.gz samba-81a2a307392a12e5ec464e524d2948611e23b943.tar.xz samba-81a2a307392a12e5ec464e524d2948611e23b943.zip |
More printer publishing code.
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7
This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
(This used to be commit d57bddc9b22e809c79294c7eacbd5d0f115fe990)
Diffstat (limited to 'source3/include')
-rwxr-xr-x | source3/include/rpc_spoolss.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h index 3a6d6eb9ec6..249053403d1 100755 --- a/source3/include/rpc_spoolss.h +++ b/source3/include/rpc_spoolss.h @@ -371,6 +371,7 @@ PRINTER_MESSAGE_INFO; #define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x00000800 #define PRINTER_ATTRIBUTE_RAW_ONLY 0x00001000 +#define PRINTER_ATTRIBUTE_PUBLISHED 0x00002000 #define NO_PRIORITY 0 #define MAX_PRIORITY 99 @@ -991,8 +992,8 @@ PRINTER_INFO_5; #define SPOOL_DS_PUBLISH 1 #define SPOOL_DS_UPDATE 2 -#define SPOOL_DS_UNPUBLISH 3 -#define SPOOL_DS_REPUBLISH 4 +#define SPOOL_DS_UNPUBLISH 4 +#define SPOOL_DS_PENDING 0x80000000 typedef struct printer_info_7 { |