summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-17 02:58:10 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-17 02:58:10 +0000
commit90916de4a5303601a59938237a551d976cde0589 (patch)
treebff267e385e910b9ad69505da6964669d9318073 /source4/librpc/idl
parentff9558bdf99901793dad9182254164e1472e9cfe (diff)
downloadsamba-90916de4a5303601a59938237a551d976cde0589.tar.gz
samba-90916de4a5303601a59938237a551d976cde0589.tar.bz2
samba-90916de4a5303601a59938237a551d976cde0589.zip
* more info levels for EnumPrinter
* use WERROR return type in spoolss EnumPrinter (This used to be commit 8301a6b6ad45f76a42d0fcab6347c187eee615a9)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/spoolss.idl43
1 files changed, 38 insertions, 5 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 2da15652e5..515ac0fd51 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -53,7 +53,7 @@
[relative] nstring name;
[relative] nstring description;
[relative] nstring comment;
- } spoolss_PrinterEnum1;
+ } spoolss_PrinterInfo1;
typedef struct {
[relative] nstring servername;
@@ -77,14 +77,47 @@
uint32 status;
uint32 cjobs;
uint32 averageppm;
- } spoolss_PrinterEnum2;
+ } spoolss_PrinterInfo2;
+
+ typedef struct {
+ uint32 flags;
+ [relative] security_descriptor *secdesc;
+ } spoolss_PrinterInfo3;
+
+ typedef struct {
+ [relative] nstring printername;
+ [relative] nstring servername;
+ uint32 attributes;
+ } spoolss_PrinterInfo4;
+
+ typedef struct {
+ [relative] nstring printername;
+ [relative] nstring portname;
+ uint32 attributes;
+ uint32 device_not_selected_timeout;
+ uint32 transmission_retry_timeout;
+ } spoolss_PrinterInfo5;
+
+ typedef struct {
+ uint32 foo;
+ } spoolss_PrinterInfo6;
+
+ typedef struct {
+ [relative] nstring guid; /* text form of printer guid */
+ uint32 action;
+ } spoolss_PrinterInfo7;
typedef [nodiscriminant,public] union {
- case(1) spoolss_PrinterEnum1 info1;
- case(2) spoolss_PrinterEnum2 info2;
+ case(1) spoolss_PrinterInfo1 info1;
+ case(2) spoolss_PrinterInfo2 info2;
+ case(3) spoolss_PrinterInfo3 info3;
+ case(4) spoolss_PrinterInfo4 info4;
+ case(5) spoolss_PrinterInfo5 info5;
+ case(6) spoolss_PrinterInfo6 info6;
+ case(7) spoolss_PrinterInfo7 info7;
} spoolss_PrinterEnum;
- NTSTATUS spoolss_EnumPrinters(
+ WERROR spoolss_EnumPrinters(
[in] uint32 flags,
[in] unistr *server,
[in] uint32 level,