From: Jay Freeman (saurik) Date: Mon, 16 Dec 2013 12:45:25 +0000 (-0800) Subject: Export Create* functions for usage by Impactor. X-Git-Url: https://git.saurik.com/hfs.git/commitdiff_plain/03b7ac4dd0ed3bf28f1152a1a7e89d43f3c4607d Export Create* functions for usage by Impactor. --- diff --git a/fsck_hfs/dfalib/SRepair.c b/fsck_hfs/dfalib/SRepair.c index 4a80776..d83b2e1 100644 --- a/fsck_hfs/dfalib/SRepair.c +++ b/fsck_hfs/dfalib/SRepair.c @@ -112,8 +112,8 @@ static OSErr CopyDiskBlocks(SGlobPtr GPtr, const UInt32 startAllocationBlock, static OSErr WriteBufferToDisk(SGlobPtr GPtr, UInt32 startBlock, UInt32 blockCount, u_char *buffer, int buflen); /* Functions to create file and directory by name */ -static OSErr CreateFileByName(SGlobPtr GPtr, UInt32 parentID, UInt16 fileType, u_char *fileName, unsigned int filenameLen, u_char *data, unsigned int dataLen); -static UInt32 CreateDirByName(SGlob *GPtr , const u_char *dirName, const UInt32 parentID); +OSErr CreateFileByName(SGlobPtr GPtr, UInt32 parentID, UInt16 fileType, u_char *fileName, unsigned int filenameLen, u_char *data, unsigned int dataLen); +UInt32 CreateDirByName(SGlob *GPtr , const u_char *dirName, const UInt32 parentID); static int BuildFolderRec( SGlob*, u_int16_t theMode, UInt32 theObjID, Boolean isHFSPlus, CatalogRecord * theRecPtr ); static int BuildThreadRec( CatalogKey * theKeyPtr, CatalogRecord * theRecPtr, Boolean isHFSPlus, Boolean isDirectory );