summaryrefslogtreecommitdiff
path: root/librpc/idl/spoolss.idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-17 11:31:23 +0100
committerGünther Deschner <gd@samba.org>2009-02-18 14:46:05 +0100
commit719221168f9ba6effce1b88fefd12f4fab515e9d (patch)
treeb4755e2dba7016db5ce6613e0218a99a2b13c8c4 /librpc/idl/spoolss.idl
parent975a881d54a4223fa616895778a69b08e9243aae (diff)
downloadsamba-719221168f9ba6effce1b88fefd12f4fab515e9d.tar.gz
samba-719221168f9ba6effce1b88fefd12f4fab515e9d.tar.bz2
samba-719221168f9ba6effce1b88fefd12f4fab515e9d.zip
spoolss: add spoolss_PortData1.
Guenther
Diffstat (limited to 'librpc/idl/spoolss.idl')
-rw-r--r--librpc/idl/spoolss.idl24
1 files changed, 24 insertions, 0 deletions
diff --git a/librpc/idl/spoolss.idl b/librpc/idl/spoolss.idl
index 545e1034ef..98802d3d3e 100644
--- a/librpc/idl/spoolss.idl
+++ b/librpc/idl/spoolss.idl
@@ -1938,6 +1938,30 @@ import "misc.idl", "security.idl", "winreg.idl";
/******************/
/* Function: 0x58 */
+
+ typedef [v1_enum] enum {
+ PROTOCOL_RAWTCP_TYPE = 1,
+ PROTOCOL_LPR_TYPE = 2
+ } spoolss_PortProtocol;
+
+ typedef [public] struct {
+ [charset(UTF16)] uint16 portname[64];
+ [value(0x00000001)] uint32 version;
+ spoolss_PortProtocol protocol;
+ [value(sizeof(r))] uint32 size;
+ uint32 reserved;
+ [charset(UTF16)] uint16 hostaddress[49];
+ [charset(UTF16)] uint16 snmpcommunity[33];
+ uint32 dblspool;
+ [charset(UTF16)] uint16 queue[33];
+ [charset(UTF16)] uint16 ip_address[16]; /* s3 had 17 */
+ [charset(UTF16)] uint16 hardware_address[13];
+ [charset(UTF16)] uint16 device_type[257];
+ uint32 port_number;
+ boolean32 snmp_enabled;
+ uint32 snmp_dev_index;
+ } spoolss_PortData1;
+
WERROR spoolss_XcvData(
[in,ref] policy_handle *handle,
[in] [string,charset(UTF16)] uint16 function_name[],