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
commitbebde5dba03a9c87b23d3517b670079ee57bd4da (patch)
treed309d03c25d55f84845346718e4ef861e3cd6b50 /sql/nt_servc.h
parent50afc54efa24f82bd5493d227b34ca1dd3faa5f6 (diff)
parentf2a610e1e072f3b50709be3f419ea3ac1d7a3aa5 (diff)
downloadmariadb-git-bebde5dba03a9c87b23d3517b670079ee57bd4da.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;