diff options
author | Jim McDonough <jmcd@samba.org> | 2002-12-13 18:56:48 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-12-13 18:56:48 +0000 |
commit | bfd8043a403dfed84bc568685580703a8470738d (patch) | |
tree | 7d04b1610585d4a88f73ddd2a5aeb1a6351b45f1 /source3/include/rpc_spoolss.h | |
parent | 8569cc567f11f022d923e6f027bbf931d77a45f1 (diff) | |
download | samba-bfd8043a403dfed84bc568685580703a8470738d.tar.gz samba-bfd8043a403dfed84bc568685580703a8470738d.tar.bz2 samba-bfd8043a403dfed84bc568685580703a8470738d.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 adda04379ee46f105436262663652f3f576fa3cf)
Diffstat (limited to 'source3/include/rpc_spoolss.h')
-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 3a6d6eb9ec..249053403d 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 { |