diff options
author | Günther Deschner <gd@samba.org> | 2009-02-09 23:31:35 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-10 11:26:26 +0100 |
commit | 2ede56f3c023ad1a8b7d3d8947b93fa5bedb21a1 (patch) | |
tree | a0a2d284534ef80ab2aa9477ea73238d3666c47d /source3/rpc_client | |
parent | 0a34c140cc096c222fb697c746d0045990ed3080 (diff) | |
download | samba-2ede56f3c023ad1a8b7d3d8947b93fa5bedb21a1.tar.gz samba-2ede56f3c023ad1a8b7d3d8947b93fa5bedb21a1.tar.bz2 samba-2ede56f3c023ad1a8b7d3d8947b93fa5bedb21a1.zip |
s3-spoolss: remove old spoolss_StartDocPrinter.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 780043aaab..1340f97113 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -1366,37 +1366,6 @@ WERROR rpccli_spoolss_getjob(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, /********************************************************************** **********************************************************************/ -WERROR rpccli_spoolss_startdocprinter(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *hnd, char *docname, - char *outputfile, char *datatype, - uint32 *jobid) -{ - prs_struct qbuf, rbuf; - SPOOL_Q_STARTDOCPRINTER in; - SPOOL_R_STARTDOCPRINTER out; - uint32 level = 1; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - make_spoolss_q_startdocprinter( &in, hnd, level, docname, - outputfile, datatype ); - - CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_STARTDOCPRINTER, - in, out, - qbuf, rbuf, - spoolss_io_q_startdocprinter, - spoolss_io_r_startdocprinter, - WERR_GENERAL_FAILURE ); - - *jobid = out.jobid; - - return out.status; -} - -/********************************************************************** -**********************************************************************/ - WERROR rpccli_spoolss_getprinterdata(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, const char *valuename, REGISTRY_VALUE *value) |