ark
bkRead.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 BKREAD_H
00018 #define BKREAD_H
00019 int appendStringIfHaveRoom(char* dest, const char* src, int destMaxLen,
00020 int destCharsAlreadyUsed, int maxSrcLen);
00021 bool dirDrFollows(int image);
00022 bool haveNextRecordInSector(int image);
00023 int readDir(VolInfo* volInfo, BkDir* dir, int filenameType,
00024 bool keepPosixPermissions);
00025 int readDirContents(VolInfo* volInfo, BkDir* dir, unsigned size,
00026 int filenameType, bool keepPosixPermissions);
00027 int readFileInfo(VolInfo* volInfo, BkFile* file, int filenameType,
00028 bool keepPosixPermissions, BkFileBase** specialFile);
00029 unsigned char readNextRecordLen(int image);
00030 int readPosixFileMode(VolInfo* volInfo, unsigned* posixPermissions,
00031 int lenSU);
00032 int readRockridgeFilename(VolInfo* volInfo, char* dest, int lenSU,
00033 unsigned numCharsReadAlready);
00034 int readRockridgeSymlink(VolInfo* volInfo, BkSymLink** dest, int lenSU);
00035 void removeCrapFromFilename(char* filename, int length);
00036 int skipDR(int image);
00037 void stripSpacesFromEndOfString(char* str);
00038 #endif