Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
Crc32.h
1/* Renegade Scripts.dll
2 Copyright 2013 Tiberian Technologies
3
4 This file is part of the Renegade scripts.dll
5 The Renegade scripts.dll is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2, or (at your option) any later
8 version. See the file COPYING for more details.
9 In addition, an exemption is given to allow Run Time Dynamic Linking of this code with any closed source module that does not contain code covered by this licence.
10 Only the source code to the module(s) containing the licenced code has to be released.
11*/
12#pragma once
13
14class FileClass;
15class StringClass;
16
17
18
19unsigned long SCRIPTS_API CRC_Memory(const unsigned char* data, unsigned long length, unsigned long crc = 0);
20unsigned long SCRIPTS_API CRC_String(const char *data,unsigned long crc);
21unsigned long SCRIPTS_API CRC_Stringi(char const*, unsigned long = 0);
22unsigned long SCRIPTS_API CRC_File(FileClass *f, uint32 seed = 0);