diff options
author | Christian Pointner <equinox@anytun.org> | 2010-02-06 18:12:12 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-02-06 18:12:12 +0000 |
commit | 346ef768b1b911a89e3d9bc1b03b442fd85d3739 (patch) | |
tree | b9ff225ea1093c155adcac548a1387fd5bcd860e /src/win32/winService.cpp | |
parent | removed NO_EXEC (diff) |
introduced posixDaemon as DaemonService for posix targets
some dependency cleanups
Diffstat (limited to 'src/win32/winService.cpp')
-rw-r--r-- | src/win32/winService.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/win32/winService.cpp b/src/win32/winService.cpp index f796fcf..e39fe56 100644 --- a/src/win32/winService.cpp +++ b/src/win32/winService.cpp @@ -169,4 +169,29 @@ void WinService::reportStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode) SetServiceStatus(status_handle_, &status_);
}
+void WinService::initPrivs(std::string const& username, std::string const& groupname)
+{
+// nothing here
+}
+
+void WinService::dropPrivs()
+{
+// nothing here
+}
+
+void WinService::chroot(std::string const& dir)
+{
+// nothing here
+}
+
+void WinService::daemonize()
+{
+// nothing here
+}
+
+bool WinService::isDaemonized()
+{
+ return true;
+}
+
#endif
|