1 // PropID.h 2 3 #ifndef __7ZIP_PROP_ID_H 4 #define __7ZIP_PROP_ID_H 5 6 #include "../Common/MyTypes.h" 7 8 enum 9 { 10 kpidNoProperty = 0, 11 kpidMainSubfile, 12 kpidHandlerItemIndex, 13 kpidPath, 14 kpidName, 15 kpidExtension, 16 kpidIsDir, 17 kpidSize, 18 kpidPackSize, 19 kpidAttrib, 20 kpidCTime, 21 kpidATime, 22 kpidMTime, 23 kpidSolid, 24 kpidCommented, 25 kpidEncrypted, 26 kpidSplitBefore, 27 kpidSplitAfter, 28 kpidDictionarySize, 29 kpidCRC, 30 kpidType, 31 kpidIsAnti, 32 kpidMethod, 33 kpidHostOS, 34 kpidFileSystem, 35 kpidUser, 36 kpidGroup, 37 kpidBlock, 38 kpidComment, 39 kpidPosition, 40 kpidPrefix, 41 kpidNumSubDirs, 42 kpidNumSubFiles, 43 kpidUnpackVer, 44 kpidVolume, 45 kpidIsVolume, 46 kpidOffset, 47 kpidLinks, 48 kpidNumBlocks, 49 kpidNumVolumes, 50 kpidTimeType, 51 kpidBit64, 52 kpidBigEndian, 53 kpidCpu, 54 kpidPhySize, 55 kpidHeadersSize, 56 kpidChecksum, 57 kpidCharacts, 58 kpidVa, 59 kpidId, 60 kpidShortName, 61 kpidCreatorApp, 62 kpidSectorSize, 63 kpidPosixAttrib, 64 kpidSymLink, 65 kpidError, 66 kpidTotalSize, 67 kpidFreeSpace, 68 kpidClusterSize, 69 kpidVolumeName, 70 kpidLocalName, 71 kpidProvider, 72 kpidNtSecure, 73 kpidIsAltStream, 74 kpidIsAux, 75 kpidIsDeleted, 76 kpidIsTree, 77 kpidSha1, 78 kpidSha256, 79 kpidErrorType, 80 kpidNumErrors, 81 kpidErrorFlags, 82 kpidWarningFlags, 83 kpidWarning, 84 kpidNumStreams, 85 kpidNumAltStreams, 86 kpidAltStreamsSize, 87 kpidVirtualSize, 88 kpidUnpackSize, 89 kpidTotalPhySize, 90 kpidVolumeIndex, 91 kpidSubType, 92 kpidShortComment, 93 kpidCodePage, 94 kpidIsNotArcType, 95 kpidPhySizeCantBeDetected, 96 kpidZerosTailIsAllowed, 97 kpidTailSize, 98 kpidEmbeddedStubSize, 99 kpidNtReparse, 100 kpidHardLink, 101 kpidINode, 102 kpidStreamId, 103 kpidReadOnly, 104 kpidOutName, 105 kpidCopyLink, 106 107 kpid_NUM_DEFINED, 108 109 kpidUserDefined = 0x10000 110 }; 111 112 extern const Byte k7z_PROPID_To_VARTYPE[kpid_NUM_DEFINED]; // VARTYPE 113 114 const UInt32 kpv_ErrorFlags_IsNotArc = 1 << 0; 115 const UInt32 kpv_ErrorFlags_HeadersError = 1 << 1; 116 const UInt32 kpv_ErrorFlags_EncryptedHeadersError = 1 << 2; 117 const UInt32 kpv_ErrorFlags_UnavailableStart = 1 << 3; 118 const UInt32 kpv_ErrorFlags_UnconfirmedStart = 1 << 4; 119 const UInt32 kpv_ErrorFlags_UnexpectedEnd = 1 << 5; 120 const UInt32 kpv_ErrorFlags_DataAfterEnd = 1 << 6; 121 const UInt32 kpv_ErrorFlags_UnsupportedMethod = 1 << 7; 122 const UInt32 kpv_ErrorFlags_UnsupportedFeature = 1 << 8; 123 const UInt32 kpv_ErrorFlags_DataError = 1 << 9; 124 const UInt32 kpv_ErrorFlags_CrcError = 1 << 10; 125 // const UInt32 kpv_ErrorFlags_Unsupported = 1 << 11; 126 127 #endif 128