1 /*---------------------------------------------------------------------------*
2   Project:  RevolutionDWC public include file
3   File:     ./common/dwc_init.h
4 
5   Copyright 2005-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  *---------------------------------------------------------------------------*/
14 
15 #ifndef DWC_INIT_H_
16 #define DWC_INIT_H_
17 
18 #include <common/dwc_memfunc.h>
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 /// Enumerator that indicates the authentication server
26     typedef enum{
27 
28         DWC_AUTHSERVER_DEBUG	= 0,	///< Development server
29         DWC_AUTHSERVER_RELEASE,			///< Product server
30         DWC_AUTHSERVER_TEST				///< Do not use
31 
32     }DWCAUTHSERVER;
33 
34 //----------------------------------------------------------------------------
35 // Function - external
36 //---------------------------------------------------------------------------
37     int     DWC_Init                ( DWCAUTHSERVER authserver, const char* gamename, u32 gamecode, DWCAllocEx alloc, DWCFreeEx free );
38     void    DWC_Shutdown            ( void );
39 
40 //----------------------------------------------------------------------------
41 // Function - internal
42 //---------------------------------------------------------------------------
43     u32    DWCi_GetGamecode         ( void );
44 
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif // DWC_INIT_H_
51