1 /*---------------------------------------------------------------------------*
2   Project:  Dolphin OS Error Handler API
3   File:     OSCrc.h
4 
5   Copyright 2008 Nintendo.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: OSCrc.h,v $
14   Revision 1.2  2008/05/19 08:48:06  nakano_yoshinobu
15   Transplanted from RevoEX.
16 
17 
18   $NoKeywords: $
19  *---------------------------------------------------------------------------*/
20 
21 #ifndef __OSCRC_H__
22 #define __OSCRC_H__
23 
24 #include <revolution/os.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /*---------------------------------------------------------------------------*
31     CRC API
32  *---------------------------------------------------------------------------*/
33 
34 u16 OSCalcCRC16(const void *datap, u32 size);
35 u32 OSCalcCRC32(const void *datap, u32 size);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif  // __OSCRC_H__
42