diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-17 03:38:13 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-17 03:38:13 +0000 |
commit | bf48b6e69a638dc78ab119424e27adc0ccc6c610 (patch) | |
tree | 60b76902359884ad7c708cec467bee0baf6e2898 /source4/librpc/ndr/ndr_spoolss.h | |
parent | 90916de4a5303601a59938237a551d976cde0589 (diff) | |
download | samba-bf48b6e69a638dc78ab119424e27adc0ccc6c610.tar.gz samba-bf48b6e69a638dc78ab119424e27adc0ccc6c610.tar.bz2 samba-bf48b6e69a638dc78ab119424e27adc0ccc6c610.zip |
added OpenPrinter and a test function. Note that the Samba3 structure
for OpenPrinter was wrong.
(This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
Diffstat (limited to 'source4/librpc/ndr/ndr_spoolss.h')
-rw-r--r-- | source4/librpc/ndr/ndr_spoolss.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source4/librpc/ndr/ndr_spoolss.h b/source4/librpc/ndr/ndr_spoolss.h index 61aeed9b54..60738b494a 100644 --- a/source4/librpc/ndr/ndr_spoolss.h +++ b/source4/librpc/ndr/ndr_spoolss.h @@ -124,12 +124,17 @@ struct spoolss_EnumPrinters { }; -struct spoolss_01 { +struct spoolss_OpenPrinter { struct { + const char *server; + const char *printer; + DATA_BLOB *buffer; + uint32 access_mask; } in; struct { - NTSTATUS result; + struct policy_handle *handle; + WERROR result; } out; }; @@ -1135,7 +1140,7 @@ struct spoolss_5f { }; #define DCERPC_SPOOLSS_ENUMPRINTERS 0 -#define DCERPC_SPOOLSS_01 1 +#define DCERPC_SPOOLSS_OPENPRINTER 1 #define DCERPC_SPOOLSS_02 2 #define DCERPC_SPOOLSS_03 3 #define DCERPC_SPOOLSS_ENUMJOBS 4 |