aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/CascCommon.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-05-07 14:39:40 +0200
committerShauren <shauren.trinity@gmail.com>2020-05-07 14:39:40 +0200
commitea812fec1153280b94d2fff8bdefd678e86bddeb (patch)
treecd7d75fc98ab6cc2c975fe4db9be67ccb87f40c1 /dep/CascLib/src/CascCommon.h
parentdfdabdb97bdd776da4add3cd4f19cf5793160abf (diff)
Dep/CascLib: Update to ladislav-zezula/CascLib@0a05c59eb8a3eab1bc5471f43934cd5f992f0aca
Diffstat (limited to 'dep/CascLib/src/CascCommon.h')
-rw-r--r--dep/CascLib/src/CascCommon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dep/CascLib/src/CascCommon.h b/dep/CascLib/src/CascCommon.h
index 7700c782cbf..8ef9d557a51 100644
--- a/dep/CascLib/src/CascCommon.h
+++ b/dep/CascLib/src/CascCommon.h
@@ -207,7 +207,7 @@ typedef struct _CASC_FILE_FRAME
CONTENT_KEY FrameHash; // MD5 hash of the file frame
ULONGLONG StartOffset; // Starting offset of the file span
ULONGLONG EndOffset; // Ending offset of the file span
- DWORD DataFileOffset; // Offset in the data file (data.###)
+ ULONGLONG DataFileOffset; // Offset in the data file (data.###)
DWORD EncodedSize; // Encoded size of the frame
DWORD ContentSize; // Content size of the frame
} CASC_FILE_FRAME, *PCASC_FILE_FRAME;
@@ -275,6 +275,7 @@ struct TCascStorage
// Class members
PCASC_OPEN_STORAGE_ARGS pArgs; // Open storage arguments. Only valid during opening the storage
+ CASC_LOCK StorageLock; // Lock for multi-threaded operations
LPCTSTR szIndexFormat; // Format of the index file name
LPTSTR szCodeName; // On local storage, this select a product in a multi-product storage. For online storage, this selects a product
@@ -285,6 +286,7 @@ struct TCascStorage
LPTSTR szCdnServers; // Multi-SZ list of CDN servers
LPTSTR szCdnPath; // Remote CDN sub path for the product
LPSTR szRegion; // Product region. Only when "versions" is used as storage root file
+ LPSTR szBuildKey; // Product build key, aka MD5 of the build file
DWORD dwDefaultLocale; // Default locale, read from ".build.info"
DWORD dwBuildNumber; // Product build number
DWORD dwRefCount; // Number of references
@@ -330,7 +332,6 @@ struct TCascStorage
CASC_ARRAY ExtraKeysList; // List additional encryption keys
CASC_MAP EncryptionKeys; // Map of encryption keys
ULONGLONG LastFailKeyName; // The value of the encryption key that recently was NOT found.
-
};
struct TCascFile