summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupDaemon.h
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2005-12-12 20:50:00 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2005-12-12 20:50:00 +0000
commit3bedf8846f4d7a5cb38276b274662d62a36dcd52 (patch)
tree9d51de8b0f3d06ba6549a5a1958e52f592343140 /bin/bbackupd/BackupDaemon.h
parent81d8eda2419e7a23088a98cdfc52a305c9ceac0d (diff)
Marged chris/win32/merge/07-win32-fixes at r210 to trunk
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rwxr-xr-xbin/bbackupd/BackupDaemon.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h
index ffaf5783..e6798798 100755
--- a/bin/bbackupd/BackupDaemon.h
+++ b/bin/bbackupd/BackupDaemon.h
@@ -19,6 +19,7 @@
#include "Socket.h"
#include "SocketListen.h"
#include "SocketStream.h"
+#include "WinNamedPipeStream.h"
class BackupClientDirectoryRecord;
class BackupClientContext;
@@ -146,8 +147,12 @@ private:
CommandSocketInfo(const CommandSocketInfo &); // no copying
CommandSocketInfo &operator=(const CommandSocketInfo &);
public:
+#ifdef WIN32
+ WinNamedPipeStream mListeningSocket;
+#else
SocketListen<SocketStream, 1 /* listen backlog */> mListeningSocket;
std::auto_ptr<SocketStream> mpConnectedSocket;
+#endif
IOStreamGetLine *mpGetLine;
};
@@ -160,7 +165,14 @@ private:
// Unused entries in the root directory wait a while before being deleted
box_time_t mDeleteUnusedRootDirEntriesAfter; // time to delete them
std::vector<std::pair<int64_t,std::string> > mUnusedRootDirEntries;
+
+#ifdef WIN32
+ public:
+ void RunHelperThread(void);
+
+ private:
+ bool mDoSyncFlagOut, mSyncIsForcedOut, mReceivedCommandConn;
+#endif
};
#endif // BACKUPDAEMON__H
-