From f9103579b18750af4b2f92c0f0fea1e7c532e749 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 23 Jul 2019 06:19:40 +0100 Subject: [PATCH] Add High Sierra path table structure. --- .../ISO9660/Structs/HighSierra.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/DiscImageChef.Filesystems/ISO9660/Structs/HighSierra.cs b/DiscImageChef.Filesystems/ISO9660/Structs/HighSierra.cs index e8b83aec6..705624e14 100644 --- a/DiscImageChef.Filesystems/ISO9660/Structs/HighSierra.cs +++ b/DiscImageChef.Filesystems/ISO9660/Structs/HighSierra.cs @@ -179,5 +179,16 @@ namespace DiscImageChef.Filesystems.ISO9660 public readonly byte Minute; public readonly byte Second; } + + // There are two tables one in little endian one in big endian + [StructLayout(LayoutKind.Sequential, Pack = 1)] + struct HighSierraPathTableEntry + { + public readonly uint start_lbn; + public readonly byte xattr_len; + public readonly byte name_len; + public readonly ushort parent_dirno; + // Followed by name[name_len] + } } } \ No newline at end of file