s3-svcctl: use pidl based struct SERVICE_STATUS.
[metze/samba/wip.git] / source3 / rpc_parse / parse_svcctl.c
index 559c65432e61e4086a45393fa60efded51807a2f..022ece60c98349cef68d892a5f8ccb5e06fdd4e0 100644 (file)
@@ -25,7 +25,7 @@
 /*******************************************************************
 ********************************************************************/
 
-static bool svcctl_io_service_status( const char *desc, SERVICE_STATUS *status, prs_struct *ps, int depth )
+static bool svcctl_io_service_status( const char *desc, struct SERVICE_STATUS *status, prs_struct *ps, int depth )
 {
 
        prs_debug(ps, depth, desc, "svcctl_io_service_status");
@@ -85,7 +85,7 @@ uint32 svcctl_sizeof_enum_services_status( ENUM_SERVICES_STATUS *status )
        
        size += size_of_relative_string( &status->servicename );
        size += size_of_relative_string( &status->displayname );
-       size += sizeof(SERVICE_STATUS);
+       size += sizeof(struct SERVICE_STATUS);
 
        return size;
 }