diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2008-11-22 01:10:38 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2008-11-22 01:10:38 +0100 |
commit | bebde5dba03a9c87b23d3517b670079ee57bd4da (patch) | |
tree | d309d03c25d55f84845346718e4ef861e3cd6b50 /sql/nt_servc.h | |
parent | 50afc54efa24f82bd5493d227b34ca1dd3faa5f6 (diff) | |
parent | f2a610e1e072f3b50709be3f419ea3ac1d7a3aa5 (diff) | |
download | mariadb-git-bebde5dba03a9c87b23d3517b670079ee57bd4da.tar.gz |
merge
Diffstat (limited to 'sql/nt_servc.h')
-rw-r--r-- | sql/nt_servc.h | 14 |
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; |