diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-06-17 17:25:18 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-06-17 17:25:18 +0000 |
commit | 2f294220294434d2817e570469aee0666a33e900 (patch) | |
tree | 6c02c1d399a2ebde4710224a5a3cd39511c5ae52 /cpp/include/Ice/Service.h | |
parent | avoid accessing invalid memory (diff) | |
download | ice-2f294220294434d2817e570469aee0666a33e900.tar.bz2 ice-2f294220294434d2817e570469aee0666a33e900.tar.xz ice-2f294220294434d2817e570469aee0666a33e900.zip |
fixes for bugs 373, 374, 375
Diffstat (limited to 'cpp/include/Ice/Service.h')
-rwxr-xr-x | cpp/include/Ice/Service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/include/Ice/Service.h b/cpp/include/Ice/Service.h index e079cf1dcc7..eb0800417d1 100755 --- a/cpp/include/Ice/Service.h +++ b/cpp/include/Ice/Service.h @@ -222,9 +222,12 @@ private: #ifdef _WIN32 int runService(int, char*[]); + void terminateService(DWORD); + bool waitForServiceState(SC_HANDLE, DWORD, SERVICE_STATUS&); + void showServiceStatus(const std::string&, SERVICE_STATUS&); SERVICE_STATUS_HANDLE _statusHandle; - SERVICE_STATUS _status; + SERVICE_STATUS _status; // NOTE: Unused but retained for backward-compatibility in 2.1. std::vector<std::string> _serviceArgs; public: |