summaryrefslogtreecommitdiff
path: root/source3/services
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/services
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/services')
-rw-r--r--source3/services/svc_netlogon.c4
-rw-r--r--source3/services/svc_rcinit.c4
-rw-r--r--source3/services/svc_spoolss.c4
-rw-r--r--source3/services/svc_winreg.c4
-rw-r--r--source3/services/svc_wins.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/source3/services/svc_netlogon.c b/source3/services/svc_netlogon.c
index c5a5385cdd..2745695a16 100644
--- a/source3/services/svc_netlogon.c
+++ b/source3/services/svc_netlogon.c
@@ -24,7 +24,7 @@
/*********************************************************************
*********************************************************************/
-static WERROR netlogon_status( const char *service, SERVICE_STATUS *service_status )
+static WERROR netlogon_status( const char *service, struct SERVICE_STATUS *service_status )
{
ZERO_STRUCTP( service_status );
@@ -44,7 +44,7 @@ static WERROR netlogon_status( const char *service, SERVICE_STATUS *service_stat
/*********************************************************************
*********************************************************************/
-static WERROR netlogon_stop( const char *service, SERVICE_STATUS *service_status )
+static WERROR netlogon_stop( const char *service, struct SERVICE_STATUS *service_status )
{
netlogon_status( service, service_status );
diff --git a/source3/services/svc_rcinit.c b/source3/services/svc_rcinit.c
index 3d9e6673a0..5e9a5466fe 100644
--- a/source3/services/svc_rcinit.c
+++ b/source3/services/svc_rcinit.c
@@ -22,7 +22,7 @@
/*********************************************************************
*********************************************************************/
-static WERROR rcinit_stop( const char *service, SERVICE_STATUS *status )
+static WERROR rcinit_stop( const char *service, struct SERVICE_STATUS *status )
{
char *command = NULL;
int ret, fd;
@@ -81,7 +81,7 @@ static WERROR rcinit_start( const char *service )
/*********************************************************************
*********************************************************************/
-static WERROR rcinit_status( const char *service, SERVICE_STATUS *status )
+static WERROR rcinit_status( const char *service, struct SERVICE_STATUS *status )
{
char *command = NULL;
int ret, fd;
diff --git a/source3/services/svc_spoolss.c b/source3/services/svc_spoolss.c
index 9d4113cadf..3bf659271d 100644
--- a/source3/services/svc_spoolss.c
+++ b/source3/services/svc_spoolss.c
@@ -24,7 +24,7 @@
/*********************************************************************
*********************************************************************/
-static WERROR spoolss_stop( const char *service, SERVICE_STATUS *service_status )
+static WERROR spoolss_stop( const char *service, struct SERVICE_STATUS *service_status )
{
ZERO_STRUCTP( service_status );
@@ -57,7 +57,7 @@ static WERROR spoolss_start( const char *service )
/*********************************************************************
*********************************************************************/
-static WERROR spoolss_status( const char *service, SERVICE_STATUS *service_status )
+static WERROR spoolss_status( const char *service, struct SERVICE_STATUS *service_status )
{
ZERO_STRUCTP( service_status );
diff --git a/source3/services/svc_winreg.c b/source3/services/svc_winreg.c
index 09d25f45e4..4976e6d3b3 100644
--- a/source3/services/svc_winreg.c
+++ b/source3/services/svc_winreg.c
@@ -24,7 +24,7 @@
/*********************************************************************
*********************************************************************/
-static WERROR winreg_stop( const char *service, SERVICE_STATUS *service_status )
+static WERROR winreg_stop( const char *service, struct SERVICE_STATUS *service_status )
{
return WERR_ACCESS_DENIED;
}
@@ -40,7 +40,7 @@ static WERROR winreg_start( const char *service )
/*********************************************************************
*********************************************************************/
-static WERROR winreg_status( const char *service, SERVICE_STATUS *service_status )
+static WERROR winreg_status( const char *service, struct SERVICE_STATUS *service_status )
{
ZERO_STRUCTP( service_status );
diff --git a/source3/services/svc_wins.c b/source3/services/svc_wins.c
index c9ef5e5b51..d0b5052492 100644
--- a/source3/services/svc_wins.c
+++ b/source3/services/svc_wins.c
@@ -24,7 +24,7 @@
/*********************************************************************
*********************************************************************/
-static WERROR wins_status( const char *service, SERVICE_STATUS *service_status )
+static WERROR wins_status( const char *service, struct SERVICE_STATUS *service_status )
{
ZERO_STRUCTP( service_status );
@@ -44,7 +44,7 @@ static WERROR wins_status( const char *service, SERVICE_STATUS *service_status )
/*********************************************************************
*********************************************************************/
-static WERROR wins_stop( const char *service, SERVICE_STATUS *service_status )
+static WERROR wins_stop( const char *service, struct SERVICE_STATUS *service_status )
{
wins_status( service, service_status );