Files
Aaru/DiscImageChef.Filesystems/ISO9660/Structs/Internal.cs

108 lines
4.7 KiB
C#
Raw Normal View History

// /***************************************************************************
// The Disc Image Chef
// ----------------------------------------------------------------------------
//
2019-07-31 20:10:27 +01:00
// Filename : Internal.cs
// Author(s) : Natalia Portillo <claunia@claunia.com>
//
// Component : ISO9660 filesystem plugin.
//
// --[ Description ] ----------------------------------------------------------
//
2019-07-31 20:10:27 +01:00
// Internal structures.
//
// --[ 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/>.
//
// ----------------------------------------------------------------------------
2020-01-03 17:51:30 +00:00
// Copyright © 2011-2020 Natalia Portillo
// In the loving memory of Facunda "Tata" Suárez Domínguez, R.I.P. 2019/07/24
// ****************************************************************************/
2017-12-19 19:33:46 +00:00
using System;
using System.Collections.Generic;
namespace DiscImageChef.Filesystems.ISO9660
{
public partial class ISO9660
{
struct DecodedVolumeDescriptor
{
2018-06-22 08:08:38 +01:00
public string SystemIdentifier;
public string VolumeIdentifier;
public string VolumeSetIdentifier;
public string PublisherIdentifier;
public string DataPreparerIdentifier;
public string ApplicationIdentifier;
public DateTime CreationTime;
2018-06-22 08:08:38 +01:00
public bool HasModificationTime;
public DateTime ModificationTime;
2018-06-22 08:08:38 +01:00
public bool HasExpirationTime;
public DateTime ExpirationTime;
2018-06-22 08:08:38 +01:00
public bool HasEffectiveTime;
public DateTime EffectiveTime;
2018-06-22 08:08:38 +01:00
public ushort BlockSize;
public uint Blocks;
}
class DecodedDirectoryEntry
{
public byte[] AmigaComment;
public AmigaProtection? AmigaProtection;
public byte? AppleDosType;
public byte[] AppleIcon;
public ushort? AppleProDosType;
public DecodedDirectoryEntry AssociatedFile;
public CdiSystemArea? CdiSystemArea;
public List<(uint extent, uint size)> Extents;
public string Filename;
public byte FileUnitSize;
public AppleCommon.FInfo? FinderInfo;
public FileFlags Flags;
public byte Interleave;
public PosixAttributes? PosixAttributes;
public PosixAttributesOld? PosixAttributesOld;
public PosixDeviceNumber? PosixDeviceNumber;
public DecodedDirectoryEntry ResourceFork;
public byte[] RockRidgeAlternateName;
public bool RockRidgeRelocated;
public byte[] RripAccess;
public byte[] RripAttributeChange;
public byte[] RripBackup;
public byte[] RripCreation;
public byte[] RripEffective;
public byte[] RripExpiration;
public byte[] RripModify;
public ulong Size;
public string SymbolicLink;
public DateTime? Timestamp;
public ushort VolumeSequenceNumber;
public CdromXa? XA;
public byte XattrLength;
2019-07-22 02:58:56 +01:00
public override string ToString() => Filename;
}
2019-07-29 02:45:46 +01:00
class PathTableEntryInternal
{
public uint Extent;
public string Name;
public ushort Parent;
public byte XattrLength;
2019-07-29 02:45:46 +01:00
public override string ToString() => Name;
}
}
2017-12-19 20:33:03 +00:00
}