1 /*---------------------------------------------------------------------------* 2 Project: NitroSDK - 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 $Log: defval.h,v $ 14 Revision 1.7 2007/02/20 00:28:10 kitase_hirotake 15 indent source 16 17 Revision 1.6 2006/03/29 13:13:22 yasu 18 IF-ELSE-ENDIF support 19 20 Revision 1.5 2006/01/18 02:11:19 kitase_hirotake 21 do-indent 22 23 Revision 1.4 2005/02/28 05:26:03 yosizaki 24 do-indent. 25 26 Revision 1.3 2004/08/05 13:38:44 yasu 27 Support for -M option 28 29 Revision 1.2 2004/07/10 04:06:17 yasu 30 Added support for command 'Library' 31 Support for modifier ':x' in template 32 Fixed line continue '\' issue 33 34 Revision 1.1 2004/03/26 05:07:33 yasu 35 Support for variables like as -DNAME=VALUE 36 37 $NoKeywords: $ 38 *---------------------------------------------------------------------------*/ 39 #ifndef DEFVAL_H_ 40 #define DEFVAL_H_ 41 42 #define DEFVAL_DEFAULT_BUFFER_SIZE (1024) 43 44 BOOL AddDefValFromFile(char *filename); 45 void AddDefVal(char *opt); 46 const char *SearchDefVal(const char *name); 47 const char *SearchDefValCleaned(const char *name); 48 char *ResolveDefVal(char *str); 49 char *ResolveStringModifier(const char *in_value, char modifier); 50 51 #endif //DEFVAL_H_ 52