summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-15 22:16:51 +0100
committerGünther Deschner <gd@samba.org>2009-02-07 01:52:28 +0100
commitb8cd20cd5c3ff537d48a05dd04886ced107da7ae (patch)
treed6803a62be88f757dd715edc4c7b713a5adf8b56 /source3/rpc_client
parent9bfca0bea0521b41c7bbf1ccbd35ce2e4cbb31ef (diff)
downloadsamba-b8cd20cd5c3ff537d48a05dd04886ced107da7ae.tar.gz
samba-b8cd20cd5c3ff537d48a05dd04886ced107da7ae.tar.bz2
samba-b8cd20cd5c3ff537d48a05dd04886ced107da7ae.zip
s3-spoolss: use rpccli_spoolss_DeleteForm.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index dcf4954ee4..d42931570d 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -1261,31 +1261,6 @@ WERROR rpccli_spoolss_getform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
/**********************************************************************
**********************************************************************/
-WERROR rpccli_spoolss_deleteform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *handle, const char *form_name)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_DELETEFORM in;
- SPOOL_R_DELETEFORM out;
-
- ZERO_STRUCT(in);
- ZERO_STRUCT(out);
-
- make_spoolss_q_deleteform( &in, handle, form_name );
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_DELETEFORM,
- in, out,
- qbuf, rbuf,
- spoolss_io_q_deleteform,
- spoolss_io_r_deleteform,
- WERR_GENERAL_FAILURE );
-
- 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)