|
|
1.1 root 1: /*
2: Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
3:
1.1.1.2 ! root 4: Governed by the TrueCrypt License 2.5 the full text of which is contained
1.1 root 5: in the file License.txt included in TrueCrypt binary and source code
6: distribution packages.
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.2 ! root 15: static byte AskPassword (Password &password, bool hiddenSystem = false);
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.2 ! root 24: static bool OpenVolume (byte drive, Password &password, CRYPTO_INFO **cryptoInfo, uint32 *headSaltCrc32 = 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.