diff options
author | Gerald Carter <jerry@samba.org> | 2007-05-31 17:24:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:01 -0500 |
commit | 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7 (patch) | |
tree | 750a324440a1c041819d0df051ff337caa59c6df /source/rpc_client/cli_svcctl.c | |
parent | 92c505bf7f15a79c6e32a38b2d218f65b0283507 (diff) | |
download | samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.tar.gz samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.tar.xz samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.zip |
r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
Diffstat (limited to 'source/rpc_client/cli_svcctl.c')
-rw-r--r-- | source/rpc_client/cli_svcctl.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source/rpc_client/cli_svcctl.c b/source/rpc_client/cli_svcctl.c index d183670f5fb..021648ba1c5 100644 --- a/source/rpc_client/cli_svcctl.c +++ b/source/rpc_client/cli_svcctl.c @@ -133,30 +133,6 @@ WERROR rpccli_svcctl_open_service( struct rpc_pipe_client *cli, TALLOC_CTX *mem_ return out.status; } -/******************************************************************** -********************************************************************/ - -WERROR rpccli_svcctl_close_service(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, POLICY_HND *hService ) -{ - SVCCTL_Q_CLOSE_SERVICE in; - SVCCTL_R_CLOSE_SERVICE out; - prs_struct qbuf, rbuf; - - ZERO_STRUCT(in); - ZERO_STRUCT(out); - - memcpy( &in.handle, hService, sizeof(POLICY_HND) ); - - CLI_DO_RPC_WERR( cli, mem_ctx, PI_SVCCTL, SVCCTL_CLOSE_SERVICE, - in, out, - qbuf, rbuf, - svcctl_io_q_close_service, - svcctl_io_r_close_service, - WERR_GENERAL_FAILURE ); - - return out.status; -} - /******************************************************************* *******************************************************************/ |