summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-11-10 00:53:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:11 -0500
commitd7bbbb28bde0149ff98f2e3bacee455235e3fb92 (patch)
tree4e1ff15f263292f849c6a062745d8f0a585ae317 /source3/rpc_client
parenta8caf25bd86ebe9f616b3fc88cca120850eb05d6 (diff)
downloadsamba-d7bbbb28bde0149ff98f2e3bacee455235e3fb92.tar.gz
samba-d7bbbb28bde0149ff98f2e3bacee455235e3fb92.tar.bz2
samba-d7bbbb28bde0149ff98f2e3bacee455235e3fb92.zip
r3645: Allow deldriverex in rpcclient to delete drivers for a specific
architecture and a specific version. Guenther (This used to be commit a24df09386f177e625fb99c975896cbe7a594b4b)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 9a078e4720..dc693eb02c 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -1089,7 +1089,7 @@ WERROR cli_spoolss_addprinterex (struct cli_state *cli, TALLOC_CTX *mem_ctx,
*/
WERROR cli_spoolss_deleteprinterdriverex(struct cli_state *cli,
TALLOC_CTX *mem_ctx, const char *arch,
- const char *driver)
+ const char *driver, uint32 version)
{
prs_struct qbuf, rbuf;
SPOOL_Q_DELETEPRINTERDRIVEREX q;
@@ -1109,7 +1109,7 @@ WERROR cli_spoolss_deleteprinterdriverex(struct cli_state *cli,
strupper_m(server);
/* Write the request */
- make_spoolss_q_deleteprinterdriverex(mem_ctx, &q, server, arch, driver);
+ make_spoolss_q_deleteprinterdriverex(mem_ctx, &q, server, arch, driver, version);
/* Marshall data and send request */