summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-04-30 06:17:59 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-04-30 06:17:59 +0000
commit094218bcd2befe8c57d042db7a2945791f29c7a6 (patch)
tree045a19e28860280a29bb8fc218a6909343691878 /Private/FSKit
parenta06c8a375f0c5f5e3613e9fe8228cebf442731ba (diff)
parentf86125cf437fb49587d588413d69646959a58541 (diff)
Merged in MHR-18 (pull request #10)
MHR-18
Diffstat (limited to 'Private/FSKit')
-rw-r--r--Private/FSKit/NewFS.hxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx
index 619c6c6b..b461666d 100644
--- a/Private/FSKit/NewFS.hxx
+++ b/Private/FSKit/NewFS.hxx
@@ -43,8 +43,8 @@ default.
/// @brief Partition GUID on EPM and GPT disks.
#define kNewFSUUID "@{DD997393-9CCE-4288-A8D5-C0FDE3908DBE}"
-#define kNewFSVersionInteger 0x123
-#define kNewFSVerionString "1.23"
+#define kNewFSVersionInteger 0x124
+#define kNewFSVerionString "1.24"
/// @brief Standard fork types.
#define kNewFSDataFork "data"
@@ -92,9 +92,9 @@ default.
#define kConfigLen 64
#define kPartLen 32
-#define kNewFSFlagDeleted 0xF0
-#define kNewFSFlagUnallocated 0x00
-#define kNewFSFlagCreated 0x0F
+#define kNewFSFlagDeleted 70
+#define kNewFSFlagUnallocated 00
+#define kNewFSFlagCreated 71
#define kNewFSMimeNameLen (200)
@@ -114,7 +114,11 @@ struct PACKED NewCatalog final {
NewCharType Name[kNewFSNodeNameLen];
NewCharType Mime[kNewFSMimeNameLen];
- NewOS::Int32 Flags;
+ /// Catalog status flag.
+ NewOS::UInt16 Flags;
+ /// Custom catalog flags.
+ NewOS::UInt16 FileFlags;
+ /// Catalog kind.
NewOS::Int32 Kind;
/// Size of the data fork.
@@ -242,7 +246,7 @@ class NewFSParser final {
SizeT Tell(_Input _Output NewCatalog* catalog);
- bool RemoveCatalog(_Input _Output NewCatalog* catalog);
+ bool RemoveCatalog(_Input const Char* catalog);
bool CloseCatalog(_InOut NewCatalog* catalog);