summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_spoolss.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-10 00:21:53 +0100
committerGünther Deschner <gd@samba.org>2009-02-10 11:26:39 +0100
commit0fc13e7e2cb95f4e8a94b6fc91c72ee59b2963d6 (patch)
treeb67bd4a21c2dc594e919369f822b85c5dfbfcea2 /source3/rpc_client/cli_spoolss.c
parente4b5e67566da767b423c8412601f46d3f95ff34c (diff)
downloadsamba-0fc13e7e2cb95f4e8a94b6fc91c72ee59b2963d6.tar.gz
samba-0fc13e7e2cb95f4e8a94b6fc91c72ee59b2963d6.tar.bz2
samba-0fc13e7e2cb95f4e8a94b6fc91c72ee59b2963d6.zip
s3-spoolss: remove old spoolss_SetJob.
Guenther
Diffstat (limited to 'source3/rpc_client/cli_spoolss.c')
-rw-r--r--source3/rpc_client/cli_spoolss.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 1340f97113..a62c0035a1 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -1273,32 +1273,6 @@ WERROR rpccli_spoolss_enumjobs(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
/**********************************************************************
**********************************************************************/
-WERROR rpccli_spoolss_setjob(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *hnd, uint32 jobid, uint32 level,
- uint32 command)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_SETJOB in;
- SPOOL_R_SETJOB out;
-
- ZERO_STRUCT(in);
- ZERO_STRUCT(out);
-
- make_spoolss_q_setjob( &in, hnd, jobid, level, command );
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_SETJOB,
- in, out,
- qbuf, rbuf,
- spoolss_io_q_setjob,
- spoolss_io_r_setjob,
- WERR_GENERAL_FAILURE );
-
- return out.status;
-}
-
-/**********************************************************************
-**********************************************************************/
-
WERROR rpccli_spoolss_getjob(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *hnd, uint32 jobid, uint32 level,
JOB_INFO_CTR *ctr)