summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/spoolss.idl
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-26 07:17:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:46 -0500
commitfe4a608646e86a1f821168c14b9323b72c0daa46 (patch)
tree5e72a465f5f4bf2d789e6b216db923db5beb050c /source4/librpc/idl/spoolss.idl
parentf1814e5a53d2f685e193ba5f28b38ea48efd9269 (diff)
downloadsamba-fe4a608646e86a1f821168c14b9323b72c0daa46.tar.gz
samba-fe4a608646e86a1f821168c14b9323b72c0daa46.tar.bz2
samba-fe4a608646e86a1f821168c14b9323b72c0daa46.zip
r3250: Add idl for printer info level 0.
(This used to be commit 68cd0b82e9a829dee0264523f2f2bdd37d479371)
Diffstat (limited to 'source4/librpc/idl/spoolss.idl')
-rw-r--r--source4/librpc/idl/spoolss.idl55
1 files changed, 44 insertions, 11 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 827e0e09c1..f8e76acd98 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -12,6 +12,49 @@
] interface spoolss
{
typedef struct {
+ uint16 year;
+ uint16 month;
+ uint16 day_of_week;
+ uint16 day;
+ uint16 hour;
+ uint16 minute;
+ uint16 second;
+ uint16 millisecond;
+ } spoolss_Time;
+
+ typedef struct {
+ [relative] nstring *printername;
+ [relative] nstring *servername;
+ uint32 cjobs;
+ uint32 total_jobs;
+ uint32 total_bytes;
+ spoolss_Time time;
+ uint32 global_counter;
+ uint32 total_pages;
+ uint32 version;
+ uint32 unknown10;
+ uint32 unknown11;
+ uint32 unknown12;
+ uint32 session_counter;
+ uint32 unknown14;
+ uint32 printer_errors;
+ uint32 unknown16;
+ uint32 unknown17;
+ uint32 unknown18;
+ uint32 unknown19;
+ uint32 change_id;
+ uint32 unknown21;
+ uint32 status;
+ uint32 unknown23;
+ uint32 c_setprinter;
+ uint16 unknown25;
+ uint16 unknown26;
+ uint32 unknown27;
+ uint32 unknown28;
+ uint32 unknown29;
+ } spoolss_PrinterInfo0;
+
+ typedef struct {
nstring devicename;
uint16 specversion;
uint16 driverversion;
@@ -120,6 +163,7 @@
} spoolss_PrinterInfo7;
typedef [nodiscriminant,public] union {
+ [case(0)] spoolss_PrinterInfo0 info0;
[case(1)] spoolss_PrinterInfo1 info1;
[case(2)] spoolss_PrinterInfo2 info2;
[case(3)] spoolss_PrinterInfo3 info3;
@@ -180,17 +224,6 @@
);
typedef struct {
- uint16 year;
- uint16 month;
- uint16 day_of_week;
- uint16 day;
- uint16 hour;
- uint16 minute;
- uint16 second;
- uint16 millisecond;
- } spoolss_Time;
-
- typedef struct {
uint32 job_id;
[relative] nstring printer_name;
[relative] nstring server_name;