summaryrefslogtreecommitdiff
path: root/lib/server/ServerControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/server/ServerControl.h')
-rw-r--r--lib/server/ServerControl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/server/ServerControl.h b/lib/server/ServerControl.h
new file mode 100644
index 00000000..b2e51864
--- /dev/null
+++ b/lib/server/ServerControl.h
@@ -0,0 +1,18 @@
+#ifndef SERVER_CONTROL_H
+#define SERVER_CONTROL_H
+
+#include "Test.h"
+
+bool HUPServer(int pid);
+bool KillServer(int pid, bool WaitForProcess = false);
+
+#ifdef WIN32
+ #include "WinNamedPipeStream.h"
+ #include "IOStreamGetLine.h"
+ #include "BoxPortsAndFiles.h"
+
+ void SetNamedPipeName(const std::string& rPipeName);
+ // bool SendCommands(const std::string& rCmd);
+#endif // WIN32
+
+#endif // SERVER_CONTROL_H