|
|
1.1.1.4 root 1: /* 1.1.1.6 ! root 2: Copyright (c) 2005 TrueCrypt Foundation. All rights reserved. 1.1 root 3: 1.1.1.6 ! root 4: Governed by the TrueCrypt License 2.4 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: 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: 39: #ifdef _WIN32 1.1.1.5 root 40: BOOL CALLBACK KeyFilesDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); 1.1 root 41: #endif 42: 1.1.1.6 ! root 43: #ifdef __cplusplus ! 44: } ! 45: #endif 1.1 root 46: 47: #endif /* #ifndef KEYFILES_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.