From ed6fcd4a50f3a0d84ae07a8a0011b193e00cf088 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 18 Jun 2008 18:54:25 +0000 Subject: Add the rest of the stuff for named pipe comms, including feedback information, and fix a bug in configreader that made it load the core commands every rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9913 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_namedpipe.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'win/inspircd_namedpipe.h') diff --git a/win/inspircd_namedpipe.h b/win/inspircd_namedpipe.h index 4cd69ea0e..9985a8026 100644 --- a/win/inspircd_namedpipe.h +++ b/win/inspircd_namedpipe.h @@ -9,21 +9,20 @@ class InspIRCd; class IPCThread : public Thread { BOOL Connected; - CHAR Request[MAXBUF]; DWORD BytesRead; BOOL Success; HANDLE Pipe; InspIRCd* ServerInstance; + char status[MAXBUF]; + int result; public: - IPCThread(InspIRCd* Instance) : Thread(), ServerInstance(Instance) - { - } - - virtual ~IPCThread() - { - } - + IPCThread(InspIRCd* Instance); + virtual ~IPCThread(); virtual void Run(); + const char GetStatus(); + int GetResult(); + void ClearStatus(); + void SetResult(int newresult); }; class IPC -- cgit v1.2.3