diff options
Diffstat (limited to 'src/Main/CommandLineInterface.h')
-rw-r--r-- | src/Main/CommandLineInterface.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/Main/CommandLineInterface.h b/src/Main/CommandLineInterface.h index d7a18818..7e7b1054 100644 --- a/src/Main/CommandLineInterface.h +++ b/src/Main/CommandLineInterface.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. */ @@ -38,12 +38,14 @@ namespace VeraCrypt DeleteSecurityTokenKeyfiles, DismountVolumes, DisplayVersion, DisplayVolumeProperties, - ExportSecurityTokenKeyfile, + ExportTokenKeyfile, Help, - ImportSecurityTokenKeyfiles, - ListSecurityTokenKeyfiles, + ImportTokenKeyfiles, + ListTokenKeyfiles, + ListSecurityTokenKeyfiles, + ListEMVTokenKeyfiles, ListVolumes, MountVolume, RestoreHeaders, SavePreferences, @@ -80,10 +82,13 @@ namespace VeraCrypt uint64 ArgSize; shared_ptr <VolumePath> ArgVolumePath; VolumeInfoList ArgVolumes; VolumeType::Enum ArgVolumeType; - bool ArgTrueCryptMode; shared_ptr<SecureBuffer> ArgTokenPin; + bool ArgAllowScreencapture; + bool ArgDisableFileSizeCheck; + bool ArgUseLegacyPassword; + bool ArgUseDummySudoPassword; bool StartBackgroundTask; UserPreferences Preferences; @@ -96,11 +101,11 @@ namespace VeraCrypt CommandLineInterface (const CommandLineInterface &); CommandLineInterface &operator= (const CommandLineInterface &); }; - shared_ptr<VolumePassword> ToUTF8Password (const wchar_t* str, size_t charCount = (size_t) -1); - shared_ptr<SecureBuffer> ToUTF8Buffer (const wchar_t* str, size_t charCount = (size_t) -1); + shared_ptr<VolumePassword> ToUTF8Password (const wchar_t* str, size_t charCount, size_t maxUtf8Len); + shared_ptr<SecureBuffer> ToUTF8Buffer (const wchar_t* str, size_t charCount, size_t maxUtf8Len); - extern auto_ptr <CommandLineInterface> CmdLine; + extern unique_ptr <CommandLineInterface> CmdLine; } #endif // TC_HEADER_Main_CommandInterface |