]> git.saurik.com Git - hfs.git/commitdiff
Export Create* functions for usage by Impactor.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Dec 2013 12:45:25 +0000 (04:45 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 16 Dec 2013 12:45:25 +0000 (04:45 -0800)
fsck_hfs/dfalib/SRepair.c

index 4a80776ea1c44c3a6dc53fba665b7918a3b8ff83..d83b2e19186d5731055b49a3913bcbdec3d4caa2 100644 (file)
@@ -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 );