--- truecrypt/common/common.h 2018/04/24 16:46:31 1.1.1.4 +++ truecrypt/common/common.h 2018/04/24 17:02:23 1.1.1.10 @@ -1,3 +1,11 @@ +/* + Copyright (c) 2005-2008 TrueCrypt Foundation. All rights reserved. + + Governed by the TrueCrypt License 2.7 the full text of which is contained + in the file License.txt included in TrueCrypt binary and source code + distribution packages. +*/ + #ifndef COMMON_H #define COMMON_H @@ -6,9 +14,10 @@ /* Volume types */ enum { - VOLUME_TYPE_NORMAL = 0, - VOLUME_TYPE_HIDDEN, - NBR_VOLUME_TYPES + TC_VOLUME_TYPE_NORMAL = 0, + TC_VOLUME_TYPE_HIDDEN, + TC_VOLUME_TYPE_HIDDEN_LEGACY, + TC_VOLUME_TYPE_COUNT }; /* Prop volume types */ @@ -18,6 +27,7 @@ enum PROP_VOL_TYPE_HIDDEN, PROP_VOL_TYPE_OUTER, /* Outer/normal (hidden volume protected) */ PROP_VOL_TYPE_OUTER_VOL_WRITE_PREVENTED, /* Outer/normal (hidden volume protected AND write already prevented) */ + PROP_VOL_TYPE_SYSTEM, PROP_NBR_VOLUME_TYPES }; @@ -35,9 +45,10 @@ typedef struct BOOL Removable; BOOL ProtectHiddenVolume; BOOL PreserveTimestamp; - BOOL SystemVolume; - BOOL PersistentVolume; + BOOL PartitionInInactiveSysEncScope; /* If TRUE, we are to attempt to mount a partition located on an encrypted system drive without pre-boot authentication. */ Password ProtectedHidVolPassword; /* Password of hidden volume to protect against overwriting */ + BOOL UseBackupHeader; + BOOL RecoveryMode; } MountOptions; #endif