summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Service.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-01-20 15:54:12 +0000
committerMark Spruiell <mes@zeroc.com>2004-01-20 15:54:12 +0000
commit87ac18533650d3d6599beefd2878ece1f5d33a8c (patch)
treef7c2ecb4f0c10563f7bc0c0930407225f4757600 /cpp/include/Ice/Service.h
parentfix (diff)
downloadice-87ac18533650d3d6599beefd2878ece1f5d33a8c.tar.bz2
ice-87ac18533650d3d6599beefd2878ece1f5d33a8c.tar.xz
ice-87ac18533650d3d6599beefd2878ece1f5d33a8c.zip
adding support for POSIX daemons
Diffstat (limited to 'cpp/include/Ice/Service.h')
-rwxr-xr-xcpp/include/Ice/Service.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/include/Ice/Service.h b/cpp/include/Ice/Service.h
index 932b8066f73..d4826994b57 100755
--- a/cpp/include/Ice/Service.h
+++ b/cpp/include/Ice/Service.h
@@ -57,6 +57,7 @@ protected:
private:
+ bool checkService(int, char*[], int&);
int installService(const std::string&, int, char*[]);
int uninstallService(const std::string&, int, char*[]);
int startService(const std::string&, int, char*[]);
@@ -73,6 +74,13 @@ private:
SERVICE_STATUS_HANDLE _statusHandle;
SERVICE_STATUS _status;
std::vector<std::string> _serviceArgs;
+
+#else
+
+private:
+
+ bool checkDaemon(int, char*[], int&);
+
#endif
private: