]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfscommon/headers/BTreesInternal.h
xnu-1504.9.17.tar.gz
[apple/xnu.git] / bsd / hfs / hfscommon / headers / BTreesInternal.h
index a5f151953f54bb060c2f64a4c7d4e7a82afcd364..c683d0b74f5be6064aea70104ee3fc8360d3a550 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2009 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
@@ -144,6 +144,7 @@ typedef FSBufferDescriptor *FSBufferDescriptorPtr;
 */
 enum {
                kGetBlock                       = 0x00000000,
 */
 enum {
                kGetBlock                       = 0x00000000,
+               kGetBlockHint           = 0x00000001,   // if set, the block is being looked up using hint
                kForceReadBlock         = 0x00000002,   //\80\80 how does this relate to Read/Verify? Do we need this?
                kGetEmptyBlock          = 0x00000008
 };
                kForceReadBlock         = 0x00000002,   //\80\80 how does this relate to Read/Verify? Do we need this?
                kGetEmptyBlock          = 0x00000008
 };
@@ -360,6 +361,7 @@ extern int  BTReserveSpace(FCB *file, int operations, void * data);
 
 extern int  BTReleaseReserve(FCB *file, void * data);
 
 
 extern int  BTReleaseReserve(FCB *file, void * data);
 
+extern int  BTZeroUnusedNodes(FCB *file);
 
 #endif /* __APPLE_API_PRIVATE */
 #endif /* KERNEL */
 
 #endif /* __APPLE_API_PRIVATE */
 #endif /* KERNEL */