summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-14 03:07:01 +0100
committerGünther Deschner <gd@samba.org>2009-02-25 11:16:28 +0100
commit6366084c4a7aa4845816cef6f1782e9d1c1f138c (patch)
tree4f09a84f6916c50af583c7b52187bddc42e709bf /source3/include/proto.h
parent9e3178e8387cd85858a145bb4918073f91127d20 (diff)
downloadsamba-6366084c4a7aa4845816cef6f1782e9d1c1f138c.tar.gz
samba-6366084c4a7aa4845816cef6f1782e9d1c1f138c.tar.bz2
samba-6366084c4a7aa4845816cef6f1782e9d1c1f138c.zip
s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5c9e5d3170..9ed8901fb3 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5479,6 +5479,12 @@ WERROR rpccli_spoolss_getprinterdriver2(struct rpc_pipe_client *cli,
WERROR rpccli_spoolss_addprinterex(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct spoolss_SetPrinterInfoCtr *info_ctr);
+WERROR rpccli_spoolss_getprinter(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle,
+ uint32_t level,
+ uint32_t offered,
+ union spoolss_PrinterInfo *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);