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