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 | d99f4f004ca46e4c0f2e60a231a14708a128f0f2 (patch) | |
tree | 4a6cfa91d9ffbc137249260ace6f4a59525cfac6 /source3/rpc_client | |
parent | eec5e026adb176ad48b1ebcb0ddf71bbb609ad95 (diff) | |
download | samba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.tar.gz samba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.tar.bz2 samba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.zip |
r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
(This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_svcctl.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/rpc_client/cli_svcctl.c b/source3/rpc_client/cli_svcctl.c index d183670f5f..021648ba1c 100644 --- a/source3/rpc_client/cli_svcctl.c +++ b/source3/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; -} - /******************************************************************* *******************************************************************/ |