summaryrefslogtreecommitdiff
path: root/sql/nt_servc.h
diff options
context:
space:
mode:
authorunknown <miguel@light.local>2001-10-25 05:57:15 -0200
committerunknown <miguel@light.local>2001-10-25 05:57:15 -0200
commit859371bb5ffaf635d18552081a85c975278ab8e7 (patch)
tree7359b5cdbf17b8b80cc59389b5deb2ecb6133491 /sql/nt_servc.h
parent7fd957411712d2f24f978220615a001cf128410b (diff)
downloadmariadb-git-859371bb5ffaf635d18552081a85c975278ab8e7.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. sql/mysqld.cc: Changes on install and remove service sql/nt_servc.cc: Changes for install and remove routine. Adding the seek status routine sql/nt_servc.h: Changes for install and remove routines BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
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