[Box Backup-dev] COMMIT r828 - box/chris/merge/bin/bbstored

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Aug 30 19:28:30 BST 2006


Author: chris
Date: 2006-08-30 19:28:29 +0100 (Wed, 30 Aug 2006)
New Revision: 828

Modified:
   box/chris/merge/bin/bbstored/BackupStoreDaemon.h
Log:
* bin/bbstored/BackupStoreDaemon.h
- Revert to trunk


Modified: box/chris/merge/bin/bbstored/BackupStoreDaemon.h
===================================================================
--- box/chris/merge/bin/bbstored/BackupStoreDaemon.h	2006-08-30 18:26:45 UTC (rev 827)
+++ box/chris/merge/bin/bbstored/BackupStoreDaemon.h	2006-08-30 18:28:29 UTC (rev 828)
@@ -38,13 +38,11 @@
 	BackupStoreDaemon(const BackupStoreDaemon &rToCopy);
 public:
 
-#ifndef WIN32
 	// For BackupContext to comminicate with housekeeping process
 	void SendMessageToHousekeepingProcess(const void *Msg, int MsgLen)
 	{
 		mInterProcessCommsSocket.Write(Msg, MsgLen);
 	}
-#endif
 
 protected:
 	
@@ -59,11 +57,9 @@
 
 	const ConfigurationVerify *GetConfigVerify() const;
 	
-#ifndef WIN32	
 	// Housekeeping functions
 	void HousekeepingProcess();
 	bool CheckForInterProcessMsg(int AccountNum = 0, int MaximumWaitTime = 0);
-#endif
 
 	void LogConnectionStats(const char *commonName, const SocketStreamTLS &s);
 
@@ -74,17 +70,8 @@
 	bool mHaveForkedHousekeeping;
 	bool mIsHousekeepingProcess;
 	
-#ifdef WIN32
-	virtual void OnIdle();
-	bool mHousekeepingInited;
-#else
 	SocketStream mInterProcessCommsSocket;
 	IOStreamGetLine mInterProcessComms;
-#endif
-
-	void HousekeepingInit();
-	void RunHousekeepingIfNeeded();
-	int64_t mLastHousekeepingRun;
 };
 
 




More information about the Boxbackup-dev mailing list