|
Revision 1, 1.4 KB
(checked in by cristy, 3 months ago)
|
|
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifndef _WIZARDSTOOLKIT_CRC64_H |
|---|
| 19 | #define _WIZARDSTOOLKIT_CRC64_H |
|---|
| 20 | |
|---|
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | typedef struct _CRC64Info |
|---|
| 26 | CRC64Info; |
|---|
| 27 | |
|---|
| 28 | extern WizardExport CRC64Info |
|---|
| 29 | *AcquireCRC64Info(void), |
|---|
| 30 | *DestroyCRC64Info(CRC64Info *); |
|---|
| 31 | |
|---|
| 32 | extern WizardExport const StringInfo |
|---|
| 33 | *GetCRC64Digest(const CRC64Info *); |
|---|
| 34 | |
|---|
| 35 | extern WizardExport unsigned int |
|---|
| 36 | GetCRC64Blocksize(const CRC64Info *), |
|---|
| 37 | GetCRC64Digestsize(const CRC64Info *); |
|---|
| 38 | |
|---|
| 39 | extern WizardExport void |
|---|
| 40 | InitializeCRC64(CRC64Info *), |
|---|
| 41 | FinalizeCRC64(CRC64Info *), |
|---|
| 42 | UpdateCRC64(CRC64Info *,const StringInfo *); |
|---|
| 43 | |
|---|
| 44 | extern WizardExport WizardSizeType |
|---|
| 45 | GetCRC64CyclicRedundancyCheck(const CRC64Info *); |
|---|
| 46 | |
|---|
| 47 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 48 | } |
|---|
| 49 | #endif |
|---|
| 50 | |
|---|
| 51 | #endif |
|---|