MCPcopy Create free account
hub / github.com/Scobalula/Greyhound / LoadCdnConfigFile

Function LoadCdnConfigFile

src/External/CascLib/src/CascFiles.cpp:1700–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1698}
1699
1700DWORD LoadCdnConfigFile(TCascStorage * hs)
1701{
1702 // The CKey for the CDN config should have been loaded already
1703 assert(hs->CdnConfigKey.pbData != NULL && hs->CdnConfigKey.cbData == MD5_HASH_SIZE);
1704
1705 // Inform the user about what we are doing
1706 if(InvokeProgressCallback(hs, "Loading CDN config file", NULL, 0, 0))
1707 return ERROR_CANCELLED;
1708
1709 // Load the CDN config file
1710 return FetchAndLoadConfigFile(hs, &hs->CdnConfigKey, ParseFile_CdnConfig);
1711}
1712
1713DWORD LoadCdnBuildFile(TCascStorage * hs)
1714{

Callers 1

LoadCascStorageFunction · 0.85

Calls 2

InvokeProgressCallbackFunction · 0.85
FetchAndLoadConfigFileFunction · 0.85

Tested by

no test coverage detected