1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00

r3645: Allow deldriverex in rpcclient to delete drivers for a specific

architecture and a specific version.

Guenther
This commit is contained in:
Günther Deschner
2004-11-10 00:53:35 +00:00
committed by Gerald (Jerry) Carter
parent dfa910e4ab
commit a24df09386
3 changed files with 18 additions and 16 deletions

View File

@@ -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 */