diff options
Diffstat (limited to 'src/StormCommon.h')
-rw-r--r-- | src/StormCommon.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/StormCommon.h b/src/StormCommon.h index 52a5620..25cc981 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -77,6 +77,7 @@ #define MPQ_WEAK_SIGNATURE_SIZE 64 #define MPQ_STRONG_SIGNATURE_SIZE 256 #define MPQ_STRONG_SIGNATURE_ID 0x5349474E // ID of the strong signature ("NGIS") +#define MPQ_SIGNATURE_FILE_SIZE (MPQ_WEAK_SIGNATURE_SIZE + 8) // MPQ signature info typedef struct _MPQ_SIGNATURE_INFO @@ -303,6 +304,12 @@ int SAttrFileSaveToMpq(TMPQArchive * ha); int SListFileSaveToMpq(TMPQArchive * ha); //----------------------------------------------------------------------------- +// Weak signature support + +int SSignFileCreate(TMPQArchive * ha); +int SSignFileFinish(TMPQArchive * ha); + +//----------------------------------------------------------------------------- // Dump data support #ifdef __STORMLIB_DUMP_DATA__ |