summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_spoolss_notify.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-02-09 19:44:50 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-09 19:44:50 +0100
commit4f29e8a75c7ea63601724be2fd63eb776f839fde (patch)
tree2ea03ea359a2fd51353f135e7ade99efbd4d5751 /source3/rpc_client/cli_spoolss_notify.c
parent0d0aec18a2d2a49095da3fe1ac1dd51797c72d7d (diff)
parenta734c85c287ccf3280e7cefe69fae6b772b4ea8d (diff)
downloadsamba-4f29e8a75c7ea63601724be2fd63eb776f839fde.tar.gz
samba-4f29e8a75c7ea63601724be2fd63eb776f839fde.tar.bz2
samba-4f29e8a75c7ea63601724be2fd63eb776f839fde.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/rpc_client/cli_spoolss_notify.c')
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c63
1 files changed, 0 insertions, 63 deletions
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index 5440f76248..11152752e9 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -65,69 +65,6 @@ WERROR rpccli_spoolss_reply_open_printer(struct rpc_pipe_client *cli, TALLOC_CTX
return result;
}
-/* Close a back-channel notification connection */
-
-WERROR rpccli_spoolss_reply_close_printer(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *handle)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_REPLYCLOSEPRINTER q;
- SPOOL_R_REPLYCLOSEPRINTER r;
- WERROR result = W_ERROR(ERRgeneral);
-
- /* Initialise input parameters */
-
- make_spoolss_q_reply_closeprinter(&q, handle);
-
- /* Marshall data and send request */
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_REPLYCLOSEPRINTER,
- q, r,
- qbuf, rbuf,
- spoolss_io_q_replycloseprinter,
- spoolss_io_r_replycloseprinter,
- WERR_GENERAL_FAILURE );
-
- /* Return result */
-
- result = r.status;
- return result;
-}
-
-/*********************************************************************
- This SPOOLSS_ROUTERREPLYPRINTER function is used to send a change
- notification event when the registration **did not** use
- SPOOL_NOTIFY_OPTION_TYPE structure to specify the events to monitor.
- Also see cli_spolss_reply_rrpcn()
- *********************************************************************/
-
-WERROR rpccli_spoolss_routerreplyprinter(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, uint32 condition, uint32 change_id)
-{
- prs_struct qbuf, rbuf;
- SPOOL_Q_ROUTERREPLYPRINTER q;
- SPOOL_R_ROUTERREPLYPRINTER r;
- WERROR result = W_ERROR(ERRgeneral);
-
- /* Initialise input parameters */
-
- make_spoolss_q_routerreplyprinter(&q, pol, condition, change_id);
-
- /* Marshall data and send request */
-
- CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_ROUTERREPLYPRINTER,
- q, r,
- qbuf, rbuf,
- spoolss_io_q_routerreplyprinter,
- spoolss_io_r_routerreplyprinter,
- WERR_GENERAL_FAILURE );
-
- /* Return output parameters */
-
- result = r.status;
- return result;
-}
-
/*********************************************************************
This SPOOLSS_REPLY_RRPCN function is used to send a change
notification event when the registration **did** use