summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_spoolss_notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-21 12:50:32 +0200
committerVolker Lendecke <vl@samba.org>2008-07-21 14:36:31 +0200
commit86bb7464066ff3743eb19e874ef7dfe86dd1fcb4 (patch)
tree6712f4649292eee2e65f24279c17f553c6f15d3a /source3/rpc_client/cli_spoolss_notify.c
parentbd479ced46af51d7661b5015821f5237779c4366 (diff)
downloadsamba-86bb7464066ff3743eb19e874ef7dfe86dd1fcb4.tar.gz
samba-86bb7464066ff3743eb19e874ef7dfe86dd1fcb4.tar.bz2
samba-86bb7464066ff3743eb19e874ef7dfe86dd1fcb4.zip
Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
(This used to be commit 6d2209ba5da0937ce17e71951a1628ff1f5deacb)
Diffstat (limited to 'source3/rpc_client/cli_spoolss_notify.c')
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index 2c43dd1b5a..5440f76248 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -50,7 +50,7 @@ WERROR rpccli_spoolss_reply_open_printer(struct rpc_pipe_client *cli, TALLOC_CTX
/* Marshall data and send request */
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_SPOOLSS, SPOOLSS_REPLYOPENPRINTER,
+ CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_REPLYOPENPRINTER,
q, r,
qbuf, rbuf,
spoolss_io_q_replyopenprinter,
@@ -81,7 +81,7 @@ WERROR rpccli_spoolss_reply_close_printer(struct rpc_pipe_client *cli, TALLOC_CT
/* Marshall data and send request */
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_SPOOLSS, SPOOLSS_REPLYCLOSEPRINTER,
+ CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_REPLYCLOSEPRINTER,
q, r,
qbuf, rbuf,
spoolss_io_q_replycloseprinter,
@@ -115,7 +115,7 @@ WERROR rpccli_spoolss_routerreplyprinter(struct rpc_pipe_client *cli, TALLOC_CTX
/* Marshall data and send request */
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_SPOOLSS, SPOOLSS_ROUTERREPLYPRINTER,
+ CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_ROUTERREPLYPRINTER,
q, r,
qbuf, rbuf,
spoolss_io_q_routerreplyprinter,
@@ -166,7 +166,7 @@ WERROR rpccli_spoolss_rrpcn(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
/* Marshall data and send request */
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_SPOOLSS, SPOOLSS_RRPCN,
+ CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_RRPCN,
q, r,
qbuf, rbuf,
spoolss_io_q_reply_rrpcn,
@@ -206,7 +206,7 @@ WERROR rpccli_spoolss_rffpcnex(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
/* Marshall data and send request */
- CLI_DO_RPC_WERR( cli, mem_ctx, PI_SPOOLSS, SPOOLSS_RFFPCNEX,
+ CLI_DO_RPC_WERR( cli, mem_ctx, &syntax_spoolss, SPOOLSS_RFFPCNEX,
q, r,
qbuf, rbuf,
spoolss_io_q_rffpcnex,