diff options
author | Günther Deschner <gd@samba.org> | 2008-02-19 02:30:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-19 03:12:37 +0100 |
commit | a750bbf1b8d0d2b48af6be40f8d505b5e0edd899 (patch) | |
tree | e17112f000c9e7698c292ec53c8ce87a539c09b6 /source3/rpc_client | |
parent | cea7718db8defbf418f06b78a20ff57750b5346f (diff) | |
download | samba-a750bbf1b8d0d2b48af6be40f8d505b5e0edd899.tar.gz samba-a750bbf1b8d0d2b48af6be40f8d505b5e0edd899.tar.bz2 samba-a750bbf1b8d0d2b48af6be40f8d505b5e0edd899.zip |
Remove unused marshalling for SVCCTL_START_SERVICE.
Guenther
(This used to be commit 57e03a7fd56062bbff19c88c3b6928e8a0481794)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_svcctl.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/rpc_client/cli_svcctl.c b/source3/rpc_client/cli_svcctl.c index cdd1b93aaa..9889d131f3 100644 --- a/source3/rpc_client/cli_svcctl.c +++ b/source3/rpc_client/cli_svcctl.c @@ -233,35 +233,6 @@ WERROR rpccli_svcctl_query_config(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c /******************************************************************* *******************************************************************/ -WERROR rpccli_svcctl_start_service( struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, - POLICY_HND *hService, - const char **parm_array, uint32 parmcount ) -{ - SVCCTL_Q_START_SERVICE in; - SVCCTL_R_START_SERVICE out; - prs_struct qbuf, rbuf; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - memcpy( &in.handle, hService, sizeof(POLICY_HND) ); - - in.parmcount = 0; - in.parameters = NULL; - - CLI_DO_RPC_WERR( cli, mem_ctx, PI_SVCCTL, SVCCTL_START_SERVICE_W, - in, out, - qbuf, rbuf, - svcctl_io_q_start_service, - svcctl_io_r_start_service, - WERR_GENERAL_FAILURE ); - - return out.status; -} - -/******************************************************************* -*******************************************************************/ - WERROR rpccli_svcctl_control_service( struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *hService, uint32 control, SERVICE_STATUS *status ) |