summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/inspircd_win32wrapper.h')
-rw-r--r--win/inspircd_win32wrapper.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index fb6882378..73969e6b5 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -175,9 +175,16 @@ void ::operator delete(void * ptr);
/* IPC Handlers */
class InspIRCd;
-void InitIPC();
-void CheckIPC(InspIRCd * Instance);
-void CloseIPC();
+class IPC
+{
+ private:
+ InspIRCd* Instance;
+ HANDLE hIPCPipe;
+ public:
+ void IPC();
+ void CheckIPC(InspIRCd* Srv);
+ void ~IPC();
+};
/* Look up the nameserver in use from the registry on windows */
std::string FindNameServerWin();
@@ -185,5 +192,9 @@ std::string FindNameServerWin();
/* Clear a windows console */
void ClearConsole();
+DWORD WindowsForkStart(InspIRCd* Instance);
+
+void WindowsForkKillOwner(InspIRCd* Instance);
+
#endif