summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-16 06:08:43 +0000
committerTim Potter <tpot@samba.org>2003-11-16 06:08:43 +0000
commit7ca3720acba09c56944a2ef1bd4425e51e733fa4 (patch)
treeddb7f3be87eaf51b773b6eaf1dd54273dd61af5a /source4/librpc
parent4e959703a272a214f5bd1e249986612dc8d221d4 (diff)
downloadsamba-7ca3720acba09c56944a2ef1bd4425e51e733fa4.tar.gz
samba-7ca3720acba09c56944a2ef1bd4425e51e733fa4.tar.bz2
samba-7ca3720acba09c56944a2ef1bd4425e51e733fa4.zip
Initial version of printer info 1 for tridge.
(This used to be commit 03185769be43133df1f6e33b604d9c41c8f2e194)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/spoolss.idl54
1 files changed, 48 insertions, 6 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index dbb324d396..0bcb53de84 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -7,6 +7,22 @@
pointer_default(unique)
] interface spoolss
{
+ typedef struct {
+ uint32 flags;
+ unistr description;
+ unistr name;
+ unistr comment;
+ } spoolss_PrinterInfo1;
+
+ typedef union {
+ case(1) spoolss_PrinterInfo1 info1;
+ } spoolssPrinterInfo;
+
+ typedef struct {
+ uint32 len;
+ spoolssPrinterInfo *info;
+ } spoolss_PrinterInfoBuffer;
+
/******************/
/* Function: 0x00 */
NTSTATUS spoolss_EnumPrinters(
@@ -36,7 +52,15 @@
/******************/
/* Function: 0x04 */
- NTSTATUS spoolss_04(
+ NTSTATUS spoolss_EnumJobs(
+ [in,ref] policy_handle *handle,
+ [in] uint32 firstjob,
+ [in] uint32 numjobs,
+ [in] uint32 level,
+ [in,out] uint8_buf *buffer,
+ [in] uint32 offered,
+ [out] uint32 needed,
+ [out] uint32 numjobs
);
/******************/
@@ -56,7 +80,13 @@
/******************/
/* Function: 0x08 */
- NTSTATUS spoolss_08(
+ NTSTATUS spoolss_GetPrinter(
+ [in,ref] policy_handle *handle,
+ [in] uint32 level,
+ [in,out] uint8_buf *buffer,
+ [in] uint32 offered,
+ [out] uint32 needed,
+ [out] uint32 returned
);
/******************/
@@ -106,7 +136,8 @@
/******************/
/* Function: 0x12 */
- NTSTATUS spoolss_12(
+ NTSTATUS spoolss_StartPagePrinter(
+ [in,ref] policy_handle *handle
);
/******************/
@@ -116,7 +147,8 @@
/******************/
/* Function: 0x14 */
- NTSTATUS spoolss_14(
+ NTSTATUS spoolss_EndPagePrinter(
+ [in,ref] policy_handle *handle
);
/******************/
@@ -131,7 +163,7 @@
/******************/
/* Function: 0x17 */
- NTSTATUS spoolss_17(
+ NTSTATUS spoolss_EndDocPrinter(
);
/******************/
@@ -407,7 +439,17 @@
/******************/
/* Function: 0x48 */
- NTSTATUS spoolss_48(
+ NTSTATUS spoolss_EnumPrinterData(
+ [in,ref] policy_handle *handle,
+ [in] uint32 enum_index,
+ [in] uint32 value_offered,
+ [in] uint32 data_offered,
+ [out] uint32 value_len,
+ [out] unistr value_name,
+ [out] uint32 value_needed,
+ [out] uint32 printerdata_type,
+ [out] uint8_buf printerdata,
+ [out] uint32 data_needed
);
/******************/