summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-10 01:53:32 +0100
committerGünther Deschner <gd@samba.org>2009-02-10 11:26:52 +0100
commit3d4221a9cbe178fc96e0e72b6f3b331fc0700752 (patch)
tree7b403f0cdc22c49c6321319b4c602089796e8dad /source3/rpc_client
parentb4bda6da5ae63223207f08caec8fedfd8a654ee2 (diff)
downloadsamba-3d4221a9cbe178fc96e0e72b6f3b331fc0700752.tar.gz
samba-3d4221a9cbe178fc96e0e72b6f3b331fc0700752.tar.bz2
samba-3d4221a9cbe178fc96e0e72b6f3b331fc0700752.zip
s3-spoolss: remove old spoolss_OpenPrinterEx.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index a62c0035a1..b635bc7888 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -502,35 +502,6 @@ static bool decode_forms_1(TALLOC_CTX *mem_ctx, RPC_BUFFER *buffer,
/**********************************************************************
**********************************************************************/
-WERROR rpccli_spoolss_open_printer_ex(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- const char *printername, const char *datatype, uint32 access_required,
- const char *station, const char *username, POLICY_HND *pol)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_OPEN_PRINTER_EX in;
- SPOOL_R_OPEN_PRINTER_EX out;
-
- ZERO_STRUCT(in);
- ZERO_STRUCT(out);
-
- make_spoolss_q_open_printer_ex( &in, printername, datatype,
- access_required, station, username );
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_OPENPRINTEREX,
- in, out,
- qbuf, rbuf,
- spoolss_io_q_open_printer_ex,
- spoolss_io_r_open_printer_ex,
- WERR_GENERAL_FAILURE );
-
- memcpy( pol, &out.handle, sizeof(POLICY_HND) );
-
- return out.status;
-}
-
-/**********************************************************************
-**********************************************************************/
-
WERROR rpccli_spoolss_enum_printers(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
char *name, uint32 flags, uint32 level,
uint32 *num_printers, PRINTER_INFO_CTR *ctr)