summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-19 02:43:56 +0100
committerGünther Deschner <gd@samba.org>2008-02-19 03:13:26 +0100
commitc147f2fd6b5d8f319b2cf6903da093211f46e575 (patch)
tree7166f3ea036eaa1a7a9f9dfbc5fdb6aefc1fbfbb /source3/rpc_client
parent3c3944ee3850398a8d1349143aef53cdee44cdf4 (diff)
downloadsamba-c147f2fd6b5d8f319b2cf6903da093211f46e575.tar.gz
samba-c147f2fd6b5d8f319b2cf6903da093211f46e575.tar.bz2
samba-c147f2fd6b5d8f319b2cf6903da093211f46e575.zip
Remove unused marshalling for SVCCTL_QUERY_STATUS.
Guenther (This used to be commit 8a621f517fe38ce91f10e12fccc2963af6afc33d)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_svcctl.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/source3/rpc_client/cli_svcctl.c b/source3/rpc_client/cli_svcctl.c
index c4ff44734a..b21909fd03 100644
--- a/source3/rpc_client/cli_svcctl.c
+++ b/source3/rpc_client/cli_svcctl.c
@@ -129,36 +129,6 @@ WERROR rpccli_svcctl_enumerate_services( struct rpc_pipe_client *cli, TALLOC_CTX
/*******************************************************************
*******************************************************************/
-WERROR rpccli_svcctl_query_status( struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *hService, SERVICE_STATUS *status )
-{
- SVCCTL_Q_QUERY_STATUS in;
- SVCCTL_R_QUERY_STATUS 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_QUERY_STATUS,
- in, out,
- qbuf, rbuf,
- svcctl_io_q_query_status,
- svcctl_io_r_query_status,
- WERR_GENERAL_FAILURE );
-
- if ( !W_ERROR_IS_OK( out.status ) )
- return out.status;
-
- memcpy( status, &out.svc_status, sizeof(SERVICE_STATUS) );
-
- return out.status;
-}
-
-/*******************************************************************
-*******************************************************************/
-
WERROR rpccli_svcctl_query_config(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *hService, SERVICE_CONFIG *config )
{