|
|
1.1 root 1: /*
1.1.1.2 ! root 2: Copyright (c) 2004-2006 TrueCrypt Foundation. All rights reserved.
1.1 root 3:
4: Covered by TrueCrypt License 2.0 the full text of which is contained in the file
5: License.txt included in TrueCrypt binary and source code distribution archives.
6: */
7:
8: #ifndef KEYFILES_H
9: #define KEYFILES_H
10:
11:
12: #include "Common.h"
13:
14: #define KEYFILE_POOL_SIZE 64
15: #define KEYFILE_MAX_READ_LEN (1024*1024)
16:
17: typedef struct KeyFileStruct
18: {
19: char FileName[MAX_PATH];
20: struct KeyFileStruct *Next;
21: } KeyFile;
22:
23: typedef struct
24: {
25: BOOL EnableKeyFiles;
26: KeyFile *FirstKeyFile;
27: } KeyFilesDlgParam;
28:
29: KeyFile *KeyFileAdd (KeyFile *firstKeyFile, KeyFile *keyFile);
30: void KeyFileRemoveAll (KeyFile **firstKeyFile);
31: KeyFile *KeyFileClone (KeyFile *keyFile);
32: KeyFile *KeyFileCloneAll (KeyFile *firstKeyFile);
33: BOOL KeyFilesApply (Password *password, KeyFile *firstKeyFile, BOOL preserveTimestamp);
34:
35: #ifdef _WIN32
36: BOOL WINAPI KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
37: #endif
38:
39:
40: #endif /* #ifndef KEYFILES_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.