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