]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfscommon/headers/BTreesInternal.h
xnu-344.12.2.tar.gz
[apple/xnu.git] / bsd / hfs / hfscommon / headers / BTreesInternal.h
index a473cfceb56070aa51e29813053363e7e6328b7b..4ae9e7ad31c3ddaeabd81165957bc52095e84619 100644 (file)
@@ -115,7 +115,8 @@ struct BlockDescriptor{
        void            *blockHeader;
        ByteCount        blockSize;
        Boolean          blockReadFromDisk;
-       Byte             reserved[3];
+       Byte         isModified;             // XXXdbg - for journaling
+       Byte             reserved[2];
 };
 typedef struct BlockDescriptor BlockDescriptor;
 typedef BlockDescriptor *BlockDescPtr;
@@ -338,6 +339,10 @@ extern OSStatus    BTGetLastSync           (FCB                                            *filePtr,
 extern OSStatus        BTSetLastSync           (FCB                                            *filePtr,
                                                                         UInt32                                         lastfsync );
 
+extern OSStatus        BTCheckFreeSpace        (FCB                                            *filePtr);
+
+extern OSStatus        BTHasContiguousNodes(FCB                                                *filePtr);
+
 #endif /* __APPLE_API_PRIVATE */
 #endif /* KERNEL */
 #endif // __BTREESINTERNAL__