// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : AppleHFS.cs // Author(s) : Natalia Portillo // // Component : Apple Hierarchical File System plugin. // // --[ Description ] ---------------------------------------------------------- // // Identifies the Apple Hierarchical File System and shows information. // // --[ License ] -------------------------------------------------------------- // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2.1 of the // License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2020 Natalia Portillo // ****************************************************************************/ using System; namespace DiscImageChef.Filesystems { public partial class AppleHFS { internal enum NodeType : sbyte { /// Index node ndIndxNode = 0, /// Header node ndHdrNode = 1, /// Map node ndMapNode = 2, /// Leaf node ndLeafNode = -1 } internal enum CatDataType : sbyte { /// Directory record cdrDirRec = 1, /// File record cdrFilRec = 2, /// Directory thread record cdrThdRec = 3, /// File thread record cdrFThdRec = 4 } internal enum ForkType : sbyte { Data = 0, Resource = -1 } [Flags] internal enum ExtendedFinderFlags : ushort { /// If set the other extended flags are ignored. kExtendedFlagsAreInvalid = 0x8000, /// Set if the file or folder has a badge resource. kExtendedFlagHasCustomBadge = 0x0100, /// Set if the object is marked as busy/incomplete. kExtendedFlagObjectIsBusy = 0x0080, /// Set if the file contains routing info resource. kExtendedFlagHasRoutingInfo = 0x0004 } } }