Skip to content
API Documentation
BastionGuard™
hfs_catalog.hpp File Reference

Go to the source code of this file.

Classes

struct  hfs::BSDInfo
struct  hfs::FinderInfo16
struct  hfs::CatalogFolder
struct  hfs::CatalogFile
struct  hfs::ChildEntry

Namespaces

namespace  hfs

Functions

bool hfs::is_private_data_folder_name (const unsigned char *utf16be_name, uint16_t name_units)
uint32_t hfs::parse_inode_filename (const unsigned char *utf16be_name, uint16_t name_units)
bool hfs::parse_catalog_folder (const unsigned char *body, uint32_t body_len, CatalogFolder &out)
bool hfs::parse_catalog_file (const unsigned char *body, uint32_t body_len, CatalogFile &out)
std::string hfs::catalog_name_to_host (const unsigned char *utf16be_name, uint16_t name_units)

Variables

constexpr uint32_t hfs::kSymLinkFileType = 0x736C6E6B
constexpr uint32_t hfs::kSymLinkCreator = 0x72686170
constexpr uint32_t hfs::kHardLinkFileType = 0x686C6E6B
constexpr uint32_t hfs::kHFSPlusCreator = 0x6866732B
constexpr uint16_t hfs::kHFSFileLockedBit = 0x0001
constexpr uint16_t hfs::kHFSThreadExistsBit = 0x0002
constexpr uint16_t hfs::kHFSHasAttributesBit = 0x0004
constexpr uint16_t hfs::kHFSHasSecurityBit = 0x0008
constexpr uint16_t hfs::kHFSHasFolderCountBit = 0x0010
constexpr uint16_t hfs::kHFSHasLinkChainBit = 0x0020
constexpr uint16_t hfs::kHFSHasChildLinkBit = 0x0040
constexpr uint16_t hfs::kHFSHasDateAddedBit = 0x0080
constexpr uint8_t hfs::UF_COMPRESSED = 0x20
constexpr int hfs::kHFSPrivateDataNameLength = 21