diff options
author | Günther Deschner <gd@samba.org> | 2009-02-24 22:53:05 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-24 23:57:52 +0100 |
commit | b2e038ef8bd78e9ca847bbd0aaaf593cea059b18 (patch) | |
tree | 3ebc7986c752b402f69ddf20cb2a530f357db787 /source3/rpc_client | |
parent | 3777978eb466bf0e5268851f2820f8f91ff1bf85 (diff) | |
download | samba-b2e038ef8bd78e9ca847bbd0aaaf593cea059b18.tar.gz samba-b2e038ef8bd78e9ca847bbd0aaaf593cea059b18.tar.bz2 samba-b2e038ef8bd78e9ca847bbd0aaaf593cea059b18.zip |
s3-spoolss: remove rpccli_spoolss_addprinterdriver.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 8a8dabeba4..19e9aae0f8 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -886,36 +886,6 @@ WERROR rpccli_spoolss_enumprinterdrivers (struct rpc_pipe_client *cli, /********************************************************************** **********************************************************************/ -WERROR rpccli_spoolss_addprinterdriver (struct rpc_pipe_client *cli, - TALLOC_CTX *mem_ctx, uint32 level, - PRINTER_DRIVER_CTR *ctr) -{ - prs_struct qbuf, rbuf; - SPOOL_Q_ADDPRINTERDRIVER in; - SPOOL_R_ADDPRINTERDRIVER out; - fstring server; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - slprintf(server, sizeof(fstring)-1, "\\\\%s", cli->desthost); - strupper_m(server); - - make_spoolss_q_addprinterdriver( mem_ctx, &in, server, level, ctr ); - - CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_ADDPRINTERDRIVER, - in, out, - qbuf, rbuf, - spoolss_io_q_addprinterdriver, - spoolss_io_r_addprinterdriver, - WERR_GENERAL_FAILURE ); - - return out.status; -} - -/********************************************************************** -**********************************************************************/ - WERROR rpccli_spoolss_addprinterex (struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32 level, PRINTER_INFO_CTR*ctr) { |