summaryrefslogtreecommitdiff
path: root/sql/nt_servc.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2008-11-22 01:10:38 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2008-11-22 01:10:38 +0100
commit6d92c7e5ff07738180840c0d61c813b167e40ea2 (patch)
treed309d03c25d55f84845346718e4ef861e3cd6b50 /sql/nt_servc.h
parent0d365960abff290d5e05fef066640e64ee7f3951 (diff)
parent3305a68bc23eb46fa48dd518b835a6b447afc942 (diff)
downloadmariadb-git-6d92c7e5ff07738180840c0d61c813b167e40ea2.tar.gz
merge
Diffstat (limited to 'sql/nt_servc.h')
-rw-r--r--sql/nt_servc.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/sql/nt_servc.h b/sql/nt_servc.h
index 525f709388b..2f0d07df543 100644
--- a/sql/nt_servc.h
+++ b/sql/nt_servc.h
@@ -60,7 +60,19 @@ class NTService
BOOL IsService(LPCSTR ServiceName);
BOOL got_service_option(char **argv, char *service_option);
BOOL is_super_user();
- void Stop(void); //to be called from app. to stop service
+
+ /*
+ SetRunning() is to be called by the application
+ when initialization completes and it can accept
+ stop request
+ */
+ void SetRunning(void);
+
+ /*
+ Stop() is to be called by the application to stop
+ the service
+ */
+ void Stop(void);
protected:
LPSTR ServiceName;