summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-06 23:27:45 +0100
committerGünther Deschner <gd@samba.org>2009-03-07 00:55:37 +0100
commitc7e19c2627e5a336f506ad6e781547288e1b10c5 (patch)
tree38c31ebc3dea6a9d7ff5c5228a8f6175dbd30758 /source3/include
parent631f277d1cd81de6d796888754b08e2443edad3d (diff)
downloadsamba-c7e19c2627e5a336f506ad6e781547288e1b10c5.tar.gz
samba-c7e19c2627e5a336f506ad6e781547288e1b10c5.tar.bz2
samba-c7e19c2627e5a336f506ad6e781547288e1b10c5.zip
s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5db9b3ff0e..f64297c1e0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5497,6 +5497,13 @@ WERROR rpccli_spoolss_enumprintprocessordatatypes(struct rpc_pipe_client *cli,
uint32_t offered,
uint32_t *count,
union spoolss_PrintProcDataTypesInfo **info);
+WERROR rpccli_spoolss_enumports(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ const char *servername,
+ uint32_t level,
+ uint32_t offered,
+ uint32_t *count,
+ union spoolss_PortInfo **info);
WERROR rpccli_spoolss_enum_printers(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
char *name, uint32 flags, uint32 level,
uint32 *num_printers, PRINTER_INFO_CTR *ctr);