📄 ecma167.h
字号:
};struct lb_addr{ RMuint32 logicalBlockNum; RMuint16 partitionReferenceNum;};struct short_ad{ Uint32 extLength; Uint32 extPosition;};struct long_ad{ Uint32 extLength; struct lb_addr extLocation; Uint8 impUse[6];};struct ext_ad{ Uint32 extLength; Uint32 recordedLength; Uint32 informationLength; struct lb_addr extLocation; Uint8 impUse[2];};struct FileSetDesc{ struct tag descTag; struct timestamp recordingDateAndTime; Uint16 interchangeLvl; Uint16 maxInterchangeLvl; Uint32 charSetList; Uint32 maxCharSetList; Uint32 fileSetNum; Uint32 fileSetDescNum; struct charspec logicalVolIdentCharSet; dstring logicalVolIdent[128]; struct charspec fileSetCharSet; dstring fileSetIdent[32]; dstring copyrightFileIdent[32]; dstring abstractFileIdent[32]; struct long_ad rootDirectoryICB; struct EntityID domainIdent; struct long_ad nextExt; struct long_ad streamDirectoryICB; Uint8 reserved[32];};struct PartitionHeaderDesc{ struct short_ad unallocatedSpaceTable; struct short_ad unallocatedSpaceBitmap; struct short_ad partitionIntegrityTable; struct short_ad freedSpaceTable; struct short_ad freedSpaceBitmap; Uint8 reserved[88];};struct FileIdentDesc{ struct tag descTag; Uint16 fileVersionNum; Uint8 fileCharacteristics; Uint8 lengthFileIdent; struct long_ad icb; Uint16 lengthOfImpUse; union { Uint8 impUse[0]; Uint8 fileIdent[0]; Uint8 padding[0]; };};struct AllocExtDesc{ struct tag descTag; Uint32 previousAllocExtLocation; Uint32 lengthAllocDescs;};struct icbtag{ Uint32 priorRecordedNumDirectEntries; Uint16 strategyType; Uint16 strategyParameter; Uint16 numEntries; Uint8 reserved; Uint8 fileType; struct lb_addr parentICBLocation; Uint16 flags;};struct IndirectEntry{ struct tag descTag; struct icbtag icbTag; struct long_ad indirectICB;};struct TerminalEntry{ struct tag descTag; struct icbtag icbTag;};struct FileEntry{ struct tag descTag; struct icbtag icbTag; Uint32 uid; Uint32 gid; Uint32 permissions; Uint16 fileLinkCount; Uint8 recordFormat; Uint8 recordDisplayAttr; Uint32 recordLength; RMuint64 informationLength; //Uint32 informationLength; Uint64 logicalBlocksRecorded; struct timestamp accessTime; struct timestamp modificationTime; struct timestamp attrTime; Uint32 checkpoint; struct long_ad extendedAttrICB; struct EntityID impIdent; Uint64 uniqueID; Uint32 lengthExtendedAttr; Uint32 lengthAllocDescs; union { Uint8 extendedAttr[0]; Uint8 allocDescs[0]; };};#define PERM_O_EXEC 0x00000001U#define PERM_O_WRITE 0x00000002U#define PERM_O_READ 0x00000004U#define PERM_O_CHATTR 0x00000008U#define PERM_O_DELETE 0x00000010U#define PERM_G_EXEC 0x00000020U#define PERM_G_WRITE 0x00000040U#define PERM_G_READ 0x00000080U#define PERM_G_CHATTR 0x00000100U#define PERM_G_DELETE 0x00000200U#define PERM_U_EXEC 0x00000400U#define PERM_U_WRITE 0x00000800U#define PERM_U_READ 0x00001000U#define PERM_U_CHATTR 0x00002000U#define PERM_U_DELETE 0x00004000U/*#define RECORD_FMT_NONE 0#define RECORD_FMT_FIXED_PAD 1#define RECORD_FMT_FIXED 2#define RECORD_FMT_VARIABLE8 3#define RECORD_FMT_VARIABLE16 4#define RECORD_FMT_VARIABLE16_MSB 5#define RECORD_FMT_VARIABLE32 6#define RECORD_FMT_PRINT 7#define RECORD_FMT_LF 8#define RECORD_FMT_CR 9#define RECORD_FMT_CRLF 10#define RECORD_FMT_LFCR 11*/struct ExtendedAttrHeaderDesc{ struct tag descTag; Uint32 impAttrLocation; Uint32 appAttrLocation;};struct GenericAttrFormat{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint8 attrData[0];};struct CharSetAttrFormat{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 escapeSeqLength; Uint8 charSetType; Uint8 escapeSeq[0];};struct AlternatePermissionsExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint16 ownerIdent; Uint16 groupIdent; Uint16 permission;};struct FileTimesExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 dataLength; Uint32 fileTimeExistence; Uint8 fileTimes[0];};struct InfoTimesExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 dataLength; Uint32 infoTimeExistence; Uint8 infoTimes[0];};struct DeviceSpecificationExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 impUseLength; Uint32 majorDeviceIdent; Uint32 minorDeviceIdent; Uint8 impUse[0];};struct ImpUseExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 impUseLength; struct EntityID impIdent; Uint8 impUse[0];};struct AppUseExtendedAttr{ Uint32 attrType; Uint8 attrSubtype; Uint8 reserved[3]; Uint32 attrLength; Uint32 appUseLength; struct EntityID appIdent; Uint8 appUse[0];};#define EXTATTR_CHAR_SET 1#define EXTATTR_ALT_PERMS 3#define EXTATTR_FILE_TIMES 5#define EXTATTR_INFO_TIMES 6#define EXTATTR_DEV_SPEC 12#define EXTATTR_IMP_USE 2048#define EXTATTR_APP_USE 65536struct UnallocatedSpaceEntry{ struct tag descTag; struct icbtag icbTag; Uint32 lengthAllocDescs; Uint8 allocDescs[0];};struct SpaceBitmapDesc{ struct tag descTag; Uint32 numOfBits; Uint32 numOfBytes; Uint8 bitmap[0];};struct PartitionIntegrityEntry{ struct tag descTag; struct icbtag icbTag; struct timestamp recordingDateAndTime; Uint8 integrityType; Uint8 reserved[175]; struct EntityID impIdent; Uint8 impUse[256];};struct LogicalVolHeaderDesc{ Uint64 uniqueID; Uint8 reserved[24];};struct PathComponent{ Uint8 componentType; Uint8 lengthComponentIdent; Uint16 componentFileVersionNum; dstring componentIdent[0];};struct ExtendedFileEntry{ struct tag descTag; struct icbtag icbTag; Uint32 uid; Uint32 gid; Uint32 permissions; Uint16 fileLinkCount; Uint8 recordFormat; Uint8 recordDisplayAttr; Uint32 recordLength; Uint64 informationLength; Uint64 objectSize; Uint64 logicalBlocksRecorded; struct timestamp accessTime; struct timestamp modificationTime; struct timestamp createTime; struct timestamp attrTime; Uint32 checkpoint; Uint32 reserved; struct long_ad extendedAttrICB; struct long_ad streamDirectoryICB; struct EntityID impIdent; Uint64 uniqueID; Uint32 lengthExtendedAttr; Uint32 lengthAllocDescs; union { Uint8 extendedAttr[0]; Uint8 allocDescs[0]; };};#endif /* !defined(_ECMA167_H) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -