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

Function LoadCdnBuildFile

src/External/CascLib/src/CascFiles.cpp:1713–1725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1711}
1712
1713DWORD LoadCdnBuildFile(TCascStorage * hs)
1714{
1715 // The CKey for the CDN config should have been loaded already
1716 assert(hs->CdnBuildKey.pbData != NULL && hs->CdnBuildKey.cbData == MD5_HASH_SIZE);
1717
1718 // Inform the user about what we are doing
1719 if(InvokeProgressCallback(hs, "Loading CDN build file", NULL, 0, 0))
1720 return ERROR_CANCELLED;
1721
1722 // Load the CDN config file. Note that we don't
1723 // need it for anything, really, so we don't care if it fails
1724 return FetchAndLoadConfigFile(hs, &hs->CdnBuildKey, ParseFile_CdnBuild);
1725}
1726
1727DWORD LoadInternalFileToMemory(TCascStorage * hs, PCASC_CKEY_ENTRY pCKeyEntry, CASC_BLOB & FileData)
1728{

Callers 1

LoadCascStorageFunction · 0.85

Calls 2

InvokeProgressCallbackFunction · 0.85
FetchAndLoadConfigFileFunction · 0.85

Tested by

no test coverage detected