|
|
1.1 root 1: /*
1.1.1.6 root 2: Copyright (c) 2008 TrueCrypt Developers Association. All rights reserved.
1.1 root 3:
1.1.1.7 ! root 4: Governed by the TrueCrypt License 3.0 the full text of which is contained in
1.1.1.6 root 5: the file License.txt included in TrueCrypt binary and source code distribution
6: packages.
1.1 root 7: */
8:
9: #ifndef TC_HEADER_Boot_BootMain
10: #define TC_HEADER_Boot_BootMain
11:
12: #include "TCdefs.h"
13: #include "Platform.h"
14:
1.1.1.3 root 15: static byte AskPassword (Password &password);
1.1 root 16: static int AskSelection (const char *options[], size_t optionCount);
17: static bool AskYesNo (const char *message);
18: static byte BootEncryptedDrive ();
19: static void BootMenu ();
20: static void ExecuteBootSector (byte drive, byte *sectorBuffer);
21: static void InitScreen ();
22: static bool IsMenuKey (byte scanCode);
23: static bool MountVolume (byte drive, byte &exitKey);
1.1.1.3 root 24: static bool OpenVolume (byte drive, Password &password, CRYPTO_INFO **cryptoInfo, uint32 *headerSaltCrc32 = nullptr, bool skipNormal = false, bool skipHidden = false);
1.1 root 25: static void PrintMainMenu ();
26: static void RepairMenu ();
27:
28: #define TC_MENU_KEY_REPAIR TC_BIOS_KEY_F8
29:
30: #endif // TC_HEADER_Boot_BootMain
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.