diff options
author | Günther Deschner <gd@samba.org> | 2008-02-19 02:37:32 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-19 03:13:02 +0100 |
commit | 35e48a4b1dfa3d63476fca105766da1ec980b446 (patch) | |
tree | 53fdd89c7d9969b4b680412fab54b5406746591a /source3/rpc_client | |
parent | 87bccd70caa6521fbbf6aa603ffff3ce30d8133d (diff) | |
download | samba-35e48a4b1dfa3d63476fca105766da1ec980b446.tar.gz samba-35e48a4b1dfa3d63476fca105766da1ec980b446.tar.bz2 samba-35e48a4b1dfa3d63476fca105766da1ec980b446.zip |
Remove unused marshalling for SVCCTL_CONTROL_SERVICE.
Guenther
(This used to be commit 84112a24f5292b8d2e4d446e39462e0402453b4a)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_svcctl.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/source3/rpc_client/cli_svcctl.c b/source3/rpc_client/cli_svcctl.c index 9889d131f3..c4ff44734a 100644 --- a/source3/rpc_client/cli_svcctl.c +++ b/source3/rpc_client/cli_svcctl.c @@ -229,35 +229,3 @@ WERROR rpccli_svcctl_query_config(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c 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 ) -{ - SVCCTL_Q_CONTROL_SERVICE in; - SVCCTL_R_CONTROL_SERVICE out; - prs_struct qbuf, rbuf; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - memcpy( &in.handle, hService, sizeof(POLICY_HND) ); - in.control = control; - - CLI_DO_RPC_WERR( cli, mem_ctx, PI_SVCCTL, SVCCTL_CONTROL_SERVICE, - in, out, - qbuf, rbuf, - svcctl_io_q_control_service, - svcctl_io_r_control_service, - WERR_GENERAL_FAILURE ); - - if ( !W_ERROR_IS_OK( out.status ) ) - return out.status; - - memcpy( status, &out.svc_status, sizeof(SERVICE_STATUS) ); - - return out.status; -} |