25 #include <openssl/md5.h>
59 #define STANDARD_ADDON_CRC 0x4C1C776D
bool UsePublicKeyOrCRC
Definition: AddonMgr.h:37
uint8 VersionMD5[MD5_DIGEST_LENGTH]
Definition: AddonMgr.h:55
Definition: AddonMgr.h:40
uint32 Timestamp
Definition: AddonMgr.h:56
Definition: AddonMgr.h:27
std::string Name
Definition: AddonMgr.h:33
std::list< BannedAddon > BannedAddonList
Definition: AddonMgr.h:67
void LoadFromDB()
Definition: AddonMgr.cpp:40
uint32 CRC
Definition: AddonMgr.h:35
uint32 CRC
Definition: AddonMgr.h:48
BannedAddonList const * GetBannedAddons()
Definition: AddonMgr.cpp:124
AddonInfo(const std::string &name, uint8 enabled, uint32 crc, uint8 state, bool crcOrPubKey)
Definition: AddonMgr.h:29
uint32_t uint32
Definition: Define.h:150
Definition: AddonMgr.cpp:25
SavedAddon const * GetAddonInfo(const std::string &name)
Definition: AddonMgr.cpp:112
uint8 NameMD5[MD5_DIGEST_LENGTH]
Definition: AddonMgr.h:54
uint8_t uint8
Definition: Define.h:152
uint8 Status
Definition: AddonMgr.h:36
std::string Name
Definition: AddonMgr.h:47
uint32 Id
Definition: AddonMgr.h:53
SavedAddon(std::string const &name, uint32 crc)
Definition: AddonMgr.h:42
uint8 Enabled
Definition: AddonMgr.h:34
void SaveAddon(AddonInfo const &addon)
Definition: AddonMgr.cpp:98
Definition: AddonMgr.h:51