1 /*---------------------------------------------------------------------------* 2 Project: RevolutionDWC public include file 3 File: ./common/dwc_base64.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_BASE64_H_ 16 #define DWC_BASE64_H_ 17 18 #ifdef __cplusplus 19 extern "C" 20 { 21 #endif // __cplusplus 22 23 24 //============================================================================= 25 // functions 26 //============================================================================= 27 28 int DWC_Base64Encode(const char *src, const unsigned long srclen, char *dst, const unsigned long dstlen); 29 int DWC_Base64Decode(const char *src, const unsigned long srclen, char *dst, const unsigned long dstlen); 30 31 32 #ifdef __cplusplus 33 } 34 #endif // __cplusplus 35 36 37 #endif // DWC_BASE64_H_ 38