Changeset 2945 for box/trunk/lib


Ignore:
Timestamp:
26/04/2011 19:44:26 (13 months ago)
Author:
chris
Message:

Major refactoring to make lib/backupclient depend on lib/backupstore rather
than the other way around. This is needed to allow clients to have all the
code that they'd need to implement local backups (using the Local protocol)
in subsequent commits.

Location:
box/trunk/lib/backupstore
Files:
27 moved

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/backupstore/BackupStoreContext.cpp

    r2728 r2945  
    1414#include "BackupConstants.h" 
    1515#include "BackupStoreContext.h" 
    16 #include "BackupStoreDaemon.h" 
    1716#include "BackupStoreDirectory.h" 
    1817#include "BackupStoreException.h" 
     
    2928#include "StoreStructure.h" 
    3029 
     30class BackupStoreDaemon; 
     31 
    3132#include "MemLeakFindOn.h" 
    32  
    3333 
    3434// Maximum number of directories to keep in the cache 
  • box/trunk/lib/backupstore/Makefile.extra

    r2598 r2945  
    22MAKEPROTOCOL = ../../lib/server/makeprotocol.pl 
    33 
    4 GEN_CMD_SRV = $(MAKEPROTOCOL) Client ../../bin/bbstored/backupprotocol.txt 
     4GEN_CMD_CLI = $(MAKEPROTOCOL) Client backupprotocol.txt 
     5GEN_CMD_SRV = $(MAKEPROTOCOL) Server backupprotocol.txt 
    56 
    67# AUTOGEN SEEDING 
    7 autogen_BackupProtocolClient.cpp autogen_BackupProtocolClient.h:        $(MAKEPROTOCOL) ../../bin/bbstored/backupprotocol.txt 
     8autogen_BackupProtocolClient.cpp autogen_BackupProtocolClient.h:        $(MAKEPROTOCOL) backupprotocol.txt 
     9        $(_PERL) $(GEN_CMD_CLI) 
     10 
     11# AUTOGEN SEEDING 
     12autogen_BackupProtocolServer.cpp autogen_BackupProtocolServer.h:        $(MAKEPROTOCOL) backupprotocol.txt 
    813        $(_PERL) $(GEN_CMD_SRV) 
    9  
    1014 
    1115MAKEEXCEPTION = ../../lib/common/makeexception.pl 
Note: See TracChangeset for help on using the changeset viewer.