]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/inspircd_namedpipe.h
make service log on as local service builtin account again. There was no issue with...
[user/henk/code/inspircd.git] / win / inspircd_namedpipe.h
index 4cd69ea0e09e5574883f7062eb6c19c5f4984fc5..9985a802631ec08771cea324580a36df63f572aa 100644 (file)
@@ -9,21 +9,20 @@ class InspIRCd;
 class IPCThread : public Thread
 {
        BOOL Connected;\r
-       CHAR Request[MAXBUF];\r
        DWORD BytesRead;\r
        BOOL Success;\r
        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