root/WizardsToolkit/trunk/wizard/crc64.h

Revision 1, 1.4 KB (checked in by cristy, 3 months ago)


Line 
1/*
2  Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7
8    http://www.wizards-toolkit.org/script/license.php
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15
16  Wizard's Toolkit cyclic redundancy checksum methods.
17*/
18#ifndef _WIZARDSTOOLKIT_CRC64_H
19#define _WIZARDSTOOLKIT_CRC64_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25typedef struct _CRC64Info
26  CRC64Info;
27
28extern WizardExport CRC64Info
29  *AcquireCRC64Info(void),
30  *DestroyCRC64Info(CRC64Info *);
31
32extern WizardExport const StringInfo
33  *GetCRC64Digest(const CRC64Info *);
34
35extern WizardExport unsigned int
36  GetCRC64Blocksize(const CRC64Info *),
37  GetCRC64Digestsize(const CRC64Info *);
38
39extern WizardExport void
40  InitializeCRC64(CRC64Info *),
41  FinalizeCRC64(CRC64Info *),
42  UpdateCRC64(CRC64Info *,const StringInfo *);
43
44extern WizardExport WizardSizeType
45  GetCRC64CyclicRedundancyCheck(const CRC64Info *);
46
47#if defined(__cplusplus) || defined(c_plusplus)
48}
49#endif
50
51#endif
Note: See TracBrowser for help on using the browser.