diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-12-29 08:39:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-12-29 08:39:20 +0100 |
| commit | 5b1bb6cc086047e99a1d246fd2d337bf76887bd8 (patch) | |
| tree | 893b0b62b758aad059fb7889e3c5436e37c4f531 /dev/Kernel/FSKit | |
| parent | c973c9de6ff9b52675d7144fc5d5a3b42ccf1c36 (diff) | |
META: Ran format command.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/FSKit')
| -rw-r--r-- | dev/Kernel/FSKit/NeFS.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dev/Kernel/FSKit/NeFS.h b/dev/Kernel/FSKit/NeFS.h index 2dbc7e26..6d0b6bfe 100644 --- a/dev/Kernel/FSKit/NeFS.h +++ b/dev/Kernel/FSKit/NeFS.h @@ -76,7 +76,7 @@ default. #define kNeFSCatalogKindTTF (13) #define kNeFSCatalogKindRIFF (14) #define kNeFSCatalogKindMPEG (15) -#define kNeFSCatalogKindDVX (16) +#define kNeFSCatalogKindDVX (16) #define kNeFSSeparator '/' #define kNeFSSeparatorAlt '/' @@ -111,9 +111,9 @@ default. #define kNeFSMimeNameLen (200) #define kNeFSForkNameLen (200) -#define kNeFSFrameworkExt ".fwrk" +#define kNeFSFrameworkExt ".fwrk" #define kNeFSApplicationExt ".app" -#define kNeFSJournalExt ".jrnl" +#define kNeFSJournalExt ".jrnl" struct NFS_CATALOG_STRUCT; struct NFS_FORK_STRUCT; @@ -203,7 +203,7 @@ struct PACKED NFS_ROOT_PARTITION_BLOCK final Kernel::UInt64 Version; Kernel::Lba EpmBlock; - + Kernel::Char Pad[kNeFSPadLen]; }; @@ -250,15 +250,15 @@ namespace Kernel /// @param theFork the fork itself. /// @return the fork _Output NFS_FORK_STRUCT* CreateFork(_Input NFS_CATALOG_STRUCT* catalog, - _Input NFS_FORK_STRUCT& theFork); + _Input NFS_FORK_STRUCT& theFork); /// @brief Find fork inside New filesystem. /// @param catalog the catalog. /// @param name the fork name. /// @return the fork. _Output NFS_FORK_STRUCT* FindFork(_Input NFS_CATALOG_STRUCT* catalog, - _Input const Char* name, - Boolean dataOrRsrc); + _Input const Char* name, + Boolean dataOrRsrc); _Output Void RemoveFork(_Input NFS_FORK_STRUCT* fork); @@ -268,7 +268,7 @@ namespace Kernel _Output NFS_CATALOG_STRUCT* GetCatalog(_Input const Char* name); - _Output NFS_CATALOG_STRUCT* CreateCatalog(_Input const Char* name, + _Output NFS_CATALOG_STRUCT* CreateCatalog(_Input const Char* name, _Input const Int32& flags, _Input const Int32& kind); @@ -278,12 +278,12 @@ namespace Kernel _Input Bool isRsrcFork, _Input VoidPtr data, _Input SizeT sizeOfData, - _Input const Char* forkName); + _Input const Char* forkName); VoidPtr ReadCatalog(_Input _Output NFS_CATALOG_STRUCT* catalog, _Input Bool isRsrcFork, _Input SizeT dataSz, - _Input const Char* forkName); + _Input const Char* forkName); bool Seek(_Input _Output NFS_CATALOG_STRUCT* catalog, SizeT off); @@ -345,7 +345,7 @@ namespace Kernel return NO; mNode = parser->CreateCatalog(mStamp); - + if (!mNode) return NO; @@ -367,7 +367,8 @@ namespace Kernel } Bool Commit(NeFileSystemParser* parser, - KString xml_data, KString journal_name) + KString xml_data, + KString journal_name) { if (!parser) return NO; @@ -376,8 +377,7 @@ namespace Kernel } private: - Char mStamp[255] = { "/Boot/Journal" kNeFSJournalExt }; - + Char mStamp[255] = {"/Boot/Journal" kNeFSJournalExt}; }; namespace Detail |
