Helper for creating a MD5sum of all files within of a script. More...
Public Member Functions | |
| ScriptFileChecksumCreator (Subdirectory dir) | |
| Initialise the md5sum to be all zeroes, so we can easily xor the data. | |
| virtual bool | AddFile (const char *filename, size_t basepath_length, const char *tar_filename) |
| Add a file with the given filename. | |
Data Fields | |
| byte | md5sum [16] |
| The final md5sum. | |
| Subdirectory | dir |
| The directory to look in. | |
Helper for creating a MD5sum of all files within of a script.
Definition at line 177 of file script_scanner.cpp.
| virtual bool ScriptFileChecksumCreator::AddFile | ( | const char * | filename, | |
| size_t | basepath_length, | |||
| const char * | tar_filename | |||
| ) | [inline, virtual] |
Add a file with the given filename.
| filename | the full path to the file to read | |
| basepath_length | amount of characters to chop of before to get a filename relative to the search path. | |
| tar_filename | the name of the tar file the file is read from. |
Implements FileScanner.
Definition at line 192 of file script_scanner.cpp.
References dir, FioFCloseFile(), FioFOpenFile(), and md5sum.
Referenced by IsSameScript().
1.7.1