mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
31 lines
1005 B
C++
31 lines
1005 B
C++
#include "../../Interface/Types.h"
|
|
#include "../filesystem.h"
|
|
|
|
class FSNTFSWIN : public Filesystem
|
|
{
|
|
public:
|
|
FSNTFSWIN(const std::string &pDev, IFSImageFactory::EReadaheadMode read_ahead, bool background_priority, IFsNextBlockCallback* next_block_callback);
|
|
~FSNTFSWIN(void);
|
|
|
|
int64 getBlocksize(void);
|
|
virtual int64 getSize(void);
|
|
const unsigned char * getBitmap(void);
|
|
|
|
bool excludeFiles(const std::string& path, const std::string& fn_contains);
|
|
bool excludeFile(const std::string& path);
|
|
bool excludeSectors(int64 start, int64 count);
|
|
bool excludeBlock(int64 block);
|
|
|
|
virtual void logFileChanges(std::string volpath, int64 min_size, char* fc_bitmap);
|
|
|
|
private:
|
|
void logFileChangesInt(const std::string& volpath, int64 min_size, char* fc_bitmap, int64& total_files, int64& total_changed_sectors);
|
|
|
|
int64 countSectors(int64 start, int64 count, char* fc_bitmap);
|
|
|
|
unsigned char *bitmap;
|
|
|
|
unsigned int sectorsize;
|
|
unsigned int clustersize;
|
|
uint64 drivesize;
|
|
}; |