summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/spoolss.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-03 13:36:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:31 -0500
commit13f44bbacb120703910cf48233444c357ccfd228 (patch)
tree675340f260821b4856f22674845ff0e4dddf290d /source4/librpc/idl/spoolss.idl
parent0b01bdf9a3ae05a990574577c8dffa63e882d65c (diff)
downloadsamba-13f44bbacb120703910cf48233444c357ccfd228.tar.gz
samba-13f44bbacb120703910cf48233444c357ccfd228.tar.bz2
samba-13f44bbacb120703910cf48233444c357ccfd228.zip
r2209: patch from volker to add EnumPorts spoolss IDL and test code
the ndr->offset=0; stuff is ugly. We need a better way to handle this. (This used to be commit e909bfa708aeceeaa37faa6f6dff0274f8ac7920)
Diffstat (limited to 'source4/librpc/idl/spoolss.idl')
-rw-r--r--source4/librpc/idl/spoolss.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/source4/librpc/idl/spoolss.idl b/source4/librpc/idl/spoolss.idl
index 74bfd2ea9f..72ce7d5ffc 100644
--- a/source4/librpc/idl/spoolss.idl
+++ b/source4/librpc/idl/spoolss.idl
@@ -464,9 +464,31 @@
[out] uint32 count
);
+ typedef [flag(RELATIVE_CURRENT)] struct {
+ [relative] nstring *port_name;
+ } spoolss_PortInfo1;
+
+ typedef struct {
+ [relative] nstring *port_name;
+ [relative] nstring *monitor_name;
+ [relative] nstring *description;
+ uint32 port_type;
+ uint32 reserved;
+ } spoolss_PortInfo2;
+
+ typedef [nondiscriminant,public] union {
+ [case(1)] spoolss_PortInfo1 info1;
+ [case(2)] spoolss_PortInfo2 info2;
+ } spoolss_PortInfo;
+
/******************/
/* Function: 0x23 */
WERROR spoolss_EnumPorts(
+ [in] unistr *servername,
+ [in] uint32 level,
+ [in,out] DATA_BLOB *buffer,
+ [in,out,ref] uint32 *buf_size,
+ [out] uint32 count
);
/******************/