VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Common.h')
-rw-r--r--src/Common/Common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Common/Common.h b/src/Common/Common.h
index cd88882f..62ee3d65 100644
--- a/src/Common/Common.h
+++ b/src/Common/Common.h
@@ -3,9 +3,9 @@
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
by the TrueCrypt License 3.0.
Modifications and additions to the original source code (contained in this file)
- and all other portions of this file are Copyright (c) 2013-2016 IDRIX
+ and all other portions of this file are Copyright (c) 2013-2017 IDRIX
and are governed by the Apache License 2.0 the full text of which is
contained in the file License.txt included in VeraCrypt binary and source
code distribution packages.
*/
@@ -22,8 +22,10 @@
#define MAX_HOST_PARTITION_NUMBER 32
#define VOLUME_ID_SIZE SHA256_DIGESTSIZE
+#define ALIGN_VALUE(value, alignment) (((alignment) == 0)? (value) : (((value) + ((alignment) - 1)) & ~((alignment) - 1)))
+
typedef enum
{
// IMPORTANT: If you add a new item here, update IsOSVersionAtLeast().
@@ -89,7 +91,9 @@ typedef struct
BOOL RecoveryMode;
int ProtectedHidVolPkcs5Prf;
int ProtectedHidVolPim;
wchar_t Label[33]; /* maximum label length is 32 for NTFS and 11 for FAT32 */
+ BOOL DisableMountManager;
+ BOOL SkipCachedPasswords;
} MountOptions;
#endif