--- truecrypt/common/dictionary.h 2018/04/24 16:57:30 1.1.1.5 +++ truecrypt/common/dictionary.h 2018/04/24 17:08:17 1.1.1.9 @@ -1,9 +1,9 @@ /* - Copyright (c) 2005 TrueCrypt Foundation. All rights reserved. + Copyright (c) 2005-2009 TrueCrypt Developers Association. All rights reserved. - Governed by the TrueCrypt License 2.6 the full text of which is contained - in the file License.txt included in TrueCrypt binary and source code - distribution packages. + Governed by the TrueCrypt License 3.0 the full text of which is contained in + the file License.txt included in TrueCrypt binary and source code distribution + packages. */ #ifndef DICTIONARY_H @@ -17,14 +17,7 @@ extern "C" { #define DATA_POOL_CAPACITY 1000000 -typedef struct -{ - char *Key; - int IntKey; - void *Value; -} DictionaryEntry; - -int AddDictionaryEntry (char *key, int intKey, void *value); +void AddDictionaryEntry (char *key, int intKey, void *value); void *GetDictionaryValue (const char *key); void *GetDictionaryValueByInt (int intKey); void *AddPoolData (void *data, size_t dataSize);