summaryrefslogtreecommitdiff
path: root/sql/nt_servc.h
diff options
context:
space:
mode:
authormiguel@light.local <>2001-10-25 05:57:15 -0200
committermiguel@light.local <>2001-10-25 05:57:15 -0200
commit03bf236f4a70bf50158a186ffafd838a88823f1d (patch)
tree7359b5cdbf17b8b80cc59389b5deb2ecb6133491 /sql/nt_servc.h
parent28f35b261f96a9e064e3f6686ca78cdfd9e0da0c (diff)
downloadmariadb-git-03bf236f4a70bf50158a186ffafd838a88823f1d.tar.gz
Adding code for NT service in the install and remove
routines for avoid to leave the Service Control Manager in bad state. Print messages for to reduce the current user errors when are trying to install or start the service. Adding the option to install the service for manual start: --install-manual.
Diffstat (limited to 'sql/nt_servc.h')
-rw-r--r--sql/nt_servc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/nt_servc.h b/sql/nt_servc.h
index 5fda96dc4d8..40d1a8c03fa 100644
--- a/sql/nt_servc.h
+++ b/sql/nt_servc.h
@@ -48,8 +48,9 @@ class NTService
//service install / un-install
- BOOL Install(LPCSTR szInternName,LPCSTR szDisplayName,LPCSTR szFullPath,
+ BOOL Install(int startType,LPCSTR szInternName,LPCSTR szDisplayName,LPCSTR szFullPath,
LPCSTR szAccountName=NULL,LPCSTR szPassword=NULL);
+ BOOL SeekStatus(LPCSTR szInternName, int OperationType);
BOOL Remove(LPCSTR szInternName);
void Stop(void); //to be called from app. to stop service