summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-24 22:18:22 +0100
committerGünther Deschner <gd@samba.org>2009-02-24 22:40:51 +0100
commite4e1b1a0bb2ed333ed42e8cfab0349589a420029 (patch)
treeac689532c773716cd93b29b89ca0018779c729fa /source3/include
parentc21d54f913c770f3530de500768919a2debbcc61 (diff)
downloadsamba-e4e1b1a0bb2ed333ed42e8cfab0349589a420029.tar.gz
samba-e4e1b1a0bb2ed333ed42e8cfab0349589a420029.tar.bz2
samba-e4e1b1a0bb2ed333ed42e8cfab0349589a420029.zip
s3-spoolss: add rpccli_spoolss_getprinterdriver2 convenience wrapper.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index daeef637ca..b41a405655 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5465,6 +5465,17 @@ WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli,
const char *printername,
uint32_t access_desired,
struct policy_handle *handle);
+WERROR rpccli_spoolss_getprinterdriver2(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle,
+ const char *architecture,
+ uint32_t level,
+ uint32_t offered,
+ uint32_t client_major_version,
+ uint32_t client_minor_version,
+ union spoolss_DriverInfo *info,
+ uint32_t *server_major_version,
+ uint32_t *server_minor_version);
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);