Files
Aaru/Aaru.Filesystems/Opera/Consts.cs

25 lines
740 B
C#
Raw Normal View History

2020-02-27 00:33:26 +00:00
using Aaru.Helpers;
2019-08-01 23:37:21 +01:00
2020-02-27 00:33:26 +00:00
namespace Aaru.Filesystems
2019-08-01 16:21:10 +01:00
{
public partial class OperaFS
{
const string SYNC = "ZZZZZ";
const uint FLAGS_MASK = 0xFF;
const int MAX_NAME = 32;
2020-02-29 18:03:35 +00:00
/// <summary>Directory</summary>
const uint TYPE_DIR = 0x2A646972;
2020-02-29 18:03:35 +00:00
/// <summary>Disc label</summary>
const uint TYPE_LBL = 0x2A6C626C;
2020-02-29 18:03:35 +00:00
/// <summary>Catapult</summary>
const uint TYPE_ZAP = 0x2A7A6170;
2019-08-01 23:37:21 +01:00
static readonly int DirectoryEntrySize = Marshal.SizeOf<DirectoryEntry>();
enum FileFlags : uint
{
2020-02-29 18:03:35 +00:00
File = 2, Special = 6, Directory = 7,
LastEntryInBlock = 0x40000000, LastEntry = 0x80000000
}
}
2019-08-01 16:21:10 +01:00
}