summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-19 10:44:42 +0100
committerGünther Deschner <gd@samba.org>2009-02-19 19:23:51 +0100
commitc71fa39c29ee64b80adf92090a61c81f323742b9 (patch)
tree55d0715903ec2f43c81b2416674f19b41fa43efd /source3/rpc_client
parent286ec6847b623ddd33d2fb7690c994feb4e3e17a (diff)
downloadsamba-c71fa39c29ee64b80adf92090a61c81f323742b9.tar.gz
samba-c71fa39c29ee64b80adf92090a61c81f323742b9.tar.bz2
samba-c71fa39c29ee64b80adf92090a61c81f323742b9.zip
s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 23ac690486..489b9ca2ff 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -967,64 +967,6 @@ WERROR rpccli_spoolss_addprinterex (struct rpc_pipe_client *cli, TALLOC_CTX *mem
/**********************************************************************
**********************************************************************/
-WERROR rpccli_spoolss_getprintprocessordirectory(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx,
- char *name, char *environment,
- fstring procdir)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_GETPRINTPROCESSORDIRECTORY in;
- SPOOL_R_GETPRINTPROCESSORDIRECTORY out;
- int level = 1;
- RPC_BUFFER buffer;
- uint32 offered;
-
- ZERO_STRUCT(in);
- ZERO_STRUCT(out);
-
- offered = 0;
- if (!rpcbuf_init(&buffer, offered, mem_ctx))
- return WERR_NOMEM;
- make_spoolss_q_getprintprocessordirectory( &in, name,
- environment, level, &buffer, offered );
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_GETPRINTPROCESSORDIRECTORY,
- in, out,
- qbuf, rbuf,
- spoolss_io_q_getprintprocessordirectory,
- spoolss_io_r_getprintprocessordirectory,
- WERR_GENERAL_FAILURE );
-
- if ( W_ERROR_EQUAL( out.status, WERR_INSUFFICIENT_BUFFER ) ) {
- offered = out.needed;
-
- ZERO_STRUCT(in);
- ZERO_STRUCT(out);
-
- if (!rpcbuf_init(&buffer, offered, mem_ctx))
- return WERR_NOMEM;
- make_spoolss_q_getprintprocessordirectory( &in, name,
- environment, level, &buffer, offered );
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_GETPRINTPROCESSORDIRECTORY,
- in, out,
- qbuf, rbuf,
- spoolss_io_q_getprintprocessordirectory,
- spoolss_io_r_getprintprocessordirectory,
- WERR_GENERAL_FAILURE );
- }
-
- if ( !W_ERROR_IS_OK(out.status) )
- return out.status;
-
- fstrcpy(procdir, "Not implemented!");
-
- return out.status;
-}
-
-/**********************************************************************
-**********************************************************************/
-
WERROR rpccli_spoolss_enumforms(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *handle, int level, uint32 *num_forms,
FORM_1 **forms)