1 /*---------------------------------------------------------------------------* 2 Project: RevolutionDWC public include file 3 File: ./match/dwc_common.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_COMMON_H_ 16 #define DWC_COMMON_H_ 17 18 #ifdef __cplusplus 19 extern "C" 20 { 21 #endif 22 23 24 //---------------------------------------------------------------------------- 25 // Define 26 //---------------------------------------------------------------------------- 27 28 /// Maximum string length for each common key/value string 29 #define DWC_COMMONSTR_MAX_KEY_VALUE_LEN 4096 30 31 //---------------------------------------------------------------------------- 32 // enum 33 //---------------------------------------------------------------------------- 34 35 36 //---------------------------------------------------------------------------- 37 // typedef - function 38 //---------------------------------------------------------------------------- 39 40 41 //---------------------------------------------------------------------------- 42 // struct 43 //---------------------------------------------------------------------------- 44 45 46 //---------------------------------------------------------------------------- 47 // Function - external 48 //---------------------------------------------------------------------------- 49 50 int DWC_SetCommonKeyValueString ( const char* key, const char* value, char* string, char separator ); 51 int DWC_AddCommonKeyValueString ( const char* key, const char* value, char* string, char separator ); 52 int DWC_GetCommonValueString ( const char* key, char* value, const char* string, char separator ); 53 54 55 #ifdef __cplusplus 56 } 57 #endif 58 59 60 #endif // DWC_COMMON_H_ 61