ark
bkLink.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef BKLINK_H
00018 #define BKLINK_H
00019 int addToHardLinkTable(VolInfo* volInfo, off_t position, char* pathAndName,
00020 unsigned size, bool onImage, BkHardLink** newLink);
00021 int filesAreSame(VolInfo* volInfo, int file1, off_t posFile1,
00022 int file2, off_t posFile2, unsigned size);
00023 int findInHardLinkTable(VolInfo* volInfo, off_t position,
00024 char* pathAndName, unsigned size,
00025 bool onImage, BkHardLink** foundLink);
00026 int readFileHead(VolInfo* volInfo, off_t position, char* pathAndName,
00027 bool onImage, unsigned char* dest, int numBytes);
00028 void resetWriteStatus(BkHardLink* fileLocations);
00029 #endif