BTree* openCatalogTree(io_func* file) { BTree* btree; btree = openBTree(file, &catalogCompare, &catalogKeyRead, &catalogKeyWrite, &catalogKeyPrint, &catalogDataRead); if(btree->headerRec->keyCompareType == kHFSCaseFolding) { btree->compare = &catalogCompareCS; } return btree; }
BTree* openAttributesTree(io_func* file) { return openBTree(file, &attrCompare, &attrKeyRead, &attrKeyWrite, &attrKeyPrint, &attrDataRead); }
BTree* openExtentsTree(io_func* file) { return openBTree(file, &extentCompare, &extentKeyRead, &extentKeyWrite, &extentKeyPrint, &extentDataRead); }