using System; using System.Collections.Generic; namespace SabreTools.Helper { #region Skipper structs /// /// Intermediate struct for holding header skipper information /// public struct Skipper { public string Name; public string Author; public string Version; public List Rules; public string SourceFile; } /// /// Intermediate struct for holding header skipper rule information /// public struct SkipperRule { public long? StartOffset; // null is EOF public long? EndOffset; // null if EOF public HeaderSkipOperation Operation; public List Tests; public string SourceFile; } /// /// Intermediate struct for holding header test information /// public struct SkipperTest { public HeaderSkipTest Type; public long? Offset; // null is EOF public byte[] Value; public bool Result; public byte[] Mask; public long? Size; // null is PO2, "power of 2" filesize public HeaderSkipTestFileOperator Operator; } #endregion }