]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfscommon/headers/BTreeScanner.h
xnu-792.6.61.tar.gz
[apple/xnu.git] / bsd / hfs / hfscommon / headers / BTreeScanner.h
index b537bccfd73fd8f9baf7c857a49b2f8066f9434c..368dd18c162e230816ddc44c332eb66ced594b72 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996-2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1996-2004 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
 #ifndef        _BTREESCANNER_H_
 #define _BTREESCANNER_H_
 
+#include <sys/appleapiopts.h>
+
+#ifdef KERNEL
+#ifdef __APPLE_API_PRIVATE
 #include <sys/time.h>
 
 #include "FileMgrInternal.h"
@@ -32,7 +36,6 @@
 
 // amount of time we are allowed to process a catalog search (in ยต secs)
 // NOTE - code assumes kMaxMicroSecsInKernel is less than 1,000,000
-// jertodo - what should we set this to?
 enum { kMaxMicroSecsInKernel = (1000 * 100) }; // 1 tenth of a second
 
 // btree node scanner buffer size.  at 32K we get 8 nodes.  this is the size used
@@ -108,4 +111,6 @@ int BTScanTerminate(        BTScanState *   scanState,
                                                u_int32_t *             startingRecord,
                                                u_int32_t *             recordsFound    );
 
+#endif /* __APPLE_API_PRIVATE */
+#endif /* KERNEL */
 #endif /* !_BTREESCANNER_H_ */