2020-02-19 03:09:35 +00:00
|
|
|
// /***************************************************************************
|
2020-02-27 12:31:25 +00:00
|
|
|
// Aaru Data Preservation Suite
|
2020-02-19 03:09:35 +00:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
2020-03-11 21:56:55 +00:00
|
|
|
// Filename : Enums.cs
|
2020-02-19 03:09:35 +00:00
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
|
|
|
|
// Component : Apple Hierarchical File System plugin.
|
|
|
|
|
//
|
|
|
|
|
// --[ 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2024-12-19 10:45:18 +00:00
|
|
|
// Copyright © 2011-2025 Natalia Portillo
|
2020-02-19 03:09:35 +00:00
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
2020-07-20 21:11:32 +01:00
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
|
|
2020-07-22 13:20:25 +01:00
|
|
|
// ReSharper disable UnusedMember.Local
|
2020-11-11 04:19:18 +00:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
namespace Aaru.Filesystems;
|
|
|
|
|
|
|
|
|
|
public sealed partial class AppleHFS
|
2020-02-19 03:09:35 +00:00
|
|
|
{
|
2023-10-03 23:22:08 +01:00
|
|
|
#region Nested type: CatDataType
|
2020-02-19 03:09:35 +00:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
enum CatDataType : sbyte
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Directory record</summary>
|
|
|
|
|
cdrDirRec = 1,
|
|
|
|
|
/// <summary>File record</summary>
|
|
|
|
|
cdrFilRec = 2,
|
|
|
|
|
/// <summary>Directory thread record</summary>
|
|
|
|
|
cdrThdRec = 3,
|
|
|
|
|
/// <summary>File thread record</summary>
|
|
|
|
|
cdrFThdRec = 4
|
|
|
|
|
}
|
2020-02-19 03:09:35 +00:00
|
|
|
|
2023-10-03 23:22:08 +01:00
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Nested type: ForkType
|
|
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
enum ForkType : sbyte
|
|
|
|
|
{
|
2023-10-03 23:22:08 +01:00
|
|
|
Data = 0,
|
|
|
|
|
Resource = -1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Nested type: NodeType
|
|
|
|
|
|
|
|
|
|
enum NodeType : sbyte
|
|
|
|
|
{
|
|
|
|
|
/// <summary>Index node</summary>
|
|
|
|
|
ndIndxNode = 0,
|
|
|
|
|
/// <summary>Header node</summary>
|
|
|
|
|
ndHdrNode = 1,
|
|
|
|
|
/// <summary>Map node</summary>
|
|
|
|
|
ndMapNode = 2,
|
|
|
|
|
/// <summary>Leaf node</summary>
|
|
|
|
|
ndLeafNode = -1
|
2020-02-19 03:09:35 +00:00
|
|
|
}
|
2023-10-03 23:22:08 +01:00
|
|
|
|
|
|
|
|
#endregion
|
2020-02-19 03:09:35 +00:00
|
|
|
}
|