summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_service.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-01-08 13:23:59 +0100
committerGünther Deschner <gd@samba.org>2009-01-08 13:24:22 +0100
commit50721b485f4322a2cd8688740bc1de3f754a7c05 (patch)
tree57e2fa2d084bbbb481868b3b0d472f1e35a97747 /source3/utils/net_rpc_service.c
parent490a14068e8c1e88fcf701dfcc89ecdae9cada2a (diff)
downloadsamba-50721b485f4322a2cd8688740bc1de3f754a7c05.tar.gz
samba-50721b485f4322a2cd8688740bc1de3f754a7c05.tar.bz2
samba-50721b485f4322a2cd8688740bc1de3f754a7c05.zip
s3-svcctl: use pidl based struct SERVICE_STATUS.
Guenther
Diffstat (limited to 'source3/utils/net_rpc_service.c')
-rw-r--r--source3/utils/net_rpc_service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc_service.c b/source3/utils/net_rpc_service.c
index 2c32537e80..3186b8c779 100644
--- a/source3/utils/net_rpc_service.c
+++ b/source3/utils/net_rpc_service.c
@@ -66,7 +66,7 @@ static WERROR query_service_state(struct rpc_pipe_client *pipe_hnd,
uint32 *state )
{
POLICY_HND hService;
- SERVICE_STATUS service_status;
+ struct SERVICE_STATUS service_status;
WERROR result = WERR_GENERAL_FAILURE;
NTSTATUS status;
@@ -145,7 +145,7 @@ static WERROR control_service(struct rpc_pipe_client *pipe_hnd,
POLICY_HND hService;
WERROR result = WERR_GENERAL_FAILURE;
NTSTATUS status;
- SERVICE_STATUS service_status;
+ struct SERVICE_STATUS service_status;
uint32 state = 0;
/* Open the Service */
@@ -263,7 +263,7 @@ static NTSTATUS rpc_service_status_internal(struct net_context *c,
POLICY_HND hSCM, hService;
WERROR result = WERR_GENERAL_FAILURE;
NTSTATUS status;
- SERVICE_STATUS service_status;
+ struct SERVICE_STATUS service_status;
struct QUERY_SERVICE_CONFIG config;
uint32_t buf_size = sizeof(config);
uint32_t ret_size = 0;