diff options
author | Günther Deschner <gd@samba.org> | 2008-11-15 01:29:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-07 10:20:56 +0100 |
commit | 3d6860018f018e8ad4a8ed1ea8a2cc8f9c639254 (patch) | |
tree | 7a636d76385a10aa4adc7b72c8fcc12b4ea3ed94 /source3/rpc_client | |
parent | 7f35c3be69bc86b9efd8cc91713a8747b7bad95f (diff) | |
download | samba-3d6860018f018e8ad4a8ed1ea8a2cc8f9c639254.tar.gz samba-3d6860018f018e8ad4a8ed1ea8a2cc8f9c639254.tar.bz2 samba-3d6860018f018e8ad4a8ed1ea8a2cc8f9c639254.zip |
s3-spoolss: remove old _spoolss_WritePrinter.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index d42931570d..bdb48a4254 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -1788,35 +1788,6 @@ WERROR rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client *cli, TALLOC_CTX /********************************************************************** **********************************************************************/ -WERROR rpccli_spoolss_writeprinter(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *hnd, uint32 data_size, char *data, - uint32 *num_written) -{ - prs_struct qbuf, rbuf; - SPOOL_Q_WRITEPRINTER in; - SPOOL_R_WRITEPRINTER out; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - make_spoolss_q_writeprinter( &in, hnd, data_size, data ); - - CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_WRITEPRINTER, - in, out, - qbuf, rbuf, - spoolss_io_q_writeprinter, - spoolss_io_r_writeprinter, - WERR_GENERAL_FAILURE ); - - if (num_written) - *num_written = out.buffer_written; - - return out.status; -} - -/********************************************************************** -**********************************************************************/ - WERROR rpccli_spoolss_deleteprinterdata(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, char *valuename) { |