diff options
author | Lukas Bagaric <deaeod@gmail.com> | 2013-04-23 23:18:56 +0200 |
---|---|---|
committer | Lukas Bagaric <deaeod@gmail.com> | 2013-04-23 23:18:56 +0200 |
commit | 426e0bb9c117fe043873d4c8f67e62a6ef034cf3 (patch) | |
tree | c5e76fc36f3a7b0f3351c37dba751f4a25c648c7 /src/StormLib.h | |
parent | 2ab4cbfe957101aa96acb346e7ce1fe55ed8b683 (diff) |
Compact callback now no longer uses global variables. You should be able to compact different archives on different threads now.
Diffstat (limited to 'src/StormLib.h')
-rw-r--r-- | src/StormLib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/StormLib.h b/src/StormLib.h index 68bdac3..a2d5513 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -750,6 +750,8 @@ typedef struct _TMPQArchive SFILE_COMPACT_CALLBACK aCompactCB; // Callback function for compacting the archive void * pvCompactUserData; // User data thats passed to the callback + ULONGLONG CompactBytesProcessed; // Amount of bytes that have been processed during a particular compact call + ULONGLONG CompactTotalBytes; // Total amount of bytes to be compacted } TMPQArchive; // File handle structure |