summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-09 15:16:25 +0100
committerGünther Deschner <gd@samba.org>2009-02-10 23:57:30 +0100
commitfd8e8d5e58a2df09be591852c475e18a11c51ae1 (patch)
tree17647e7713fa8c334a88ca99cbe8681ff2bfc724 /source3/rpc_client
parentc1dbcd4cf8adca907f4088b98998c85a07c1c6bc (diff)
downloadsamba-fd8e8d5e58a2df09be591852c475e18a11c51ae1.tar.gz
samba-fd8e8d5e58a2df09be591852c475e18a11c51ae1.tar.bz2
samba-fd8e8d5e58a2df09be591852c475e18a11c51ae1.zip
s3-spoolss: remove old spoolss_ReplyOpenPrinter.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index 11152752e9..8ae7835c4e 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -29,42 +29,6 @@
* back channel.
*/
-/* Send a ReplyOpenPrinter request. This rpc is made by the printer
- server to the printer client in response to a rffpcnex request.
- The rrfpcnex request names a printer and a handle (the printerlocal
- value) and this rpc establishes a back-channel over which printer
- notifications are performed. */
-
-WERROR rpccli_spoolss_reply_open_printer(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- const char *printer, uint32 printerlocal, uint32 type,
- POLICY_HND *handle)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_REPLYOPENPRINTER q;
- SPOOL_R_REPLYOPENPRINTER r;
- WERROR result = W_ERROR(ERRgeneral);
-
- /* Initialise input parameters */
-
- make_spoolss_q_replyopenprinter(&q, printer, printerlocal, type);
-
- /* Marshall data and send request */
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_REPLYOPENPRINTER,
- q, r,
- qbuf, rbuf,
- spoolss_io_q_replyopenprinter,
- spoolss_io_r_replyopenprinter,
- WERR_GENERAL_FAILURE );
-
- /* Return result */
-
- memcpy(handle, &r.handle, sizeof(r.handle));
- result = r.status;
-
- return result;
-}
-
/*********************************************************************
This SPOOLSS_REPLY_RRPCN function is used to send a change
notification event when the registration **did** use