|
|
1.1.1.2 root 1: /*
1.1.1.3 root 2: Copyright (c) 2005 TrueCrypt Foundation. All rights reserved.
1.1.1.2 root 3:
1.1.1.6 ! root 4: Governed by the TrueCrypt License 2.7 the full text of which is contained
1.1.1.2 root 5: in the file License.txt included in TrueCrypt binary and source code
6: distribution packages.
7: */
8:
1.1 root 9: #ifndef DICTIONARY_H
10: #define DICTIONARY_H
11:
12: #include <windows.h>
13:
1.1.1.3 root 14: #ifdef __cplusplus
15: extern "C" {
16: #endif
17:
1.1 root 18: #define DATA_POOL_CAPACITY 1000000
19:
20: typedef struct
21: {
22: char *Key;
23: int IntKey;
24: void *Value;
25: } DictionaryEntry;
26:
27: int AddDictionaryEntry (char *key, int intKey, void *value);
1.1.1.5 root 28: void *GetDictionaryValue (const char *key);
1.1 root 29: void *GetDictionaryValueByInt (int intKey);
30: void *AddPoolData (void *data, size_t dataSize);
31: void ClearDictionaryPool ();
32:
1.1.1.3 root 33: #ifdef __cplusplus
34: }
35: #endif
36:
1.1 root 37: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.