1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - tools - makerom 3 File: defval.h 4 5 Copyright 2003-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 $Date:: 2008-09-18#$ 14 $Rev: 8573 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 #ifndef DEFVAL_H_ 18 #define DEFVAL_H_ 19 20 #define DEFVAL_DEFAULT_BUFFER_SIZE (1024) 21 22 BOOL AddDefValFromFile(char *filename); 23 void AddDefVal(char *opt); 24 const char *SearchDefVal(const char *name); 25 const char *SearchDefValCleaned(const char *name); 26 char *ResolveDefVal(char *str); 27 char *ResolveStringModifier(const char *in_value, char modifier); 28 29 #endif //DEFVAL_H_ 30