#ifndef _BootParser_H_
#define _BootParser_H_

#define MAX_LINE 1024

typedef struct _CONFIGENTRY {
        int  nValid;
		char szPath[MAX_LINE];
        char szRom[MAX_LINE];
		char szAltRom[MAX_LINE];
        char szRC4Key[MAX_LINE];
		char szEEPROMKey1_0[MAX_LINE];
		char szEEPROMKey1_1[MAX_LINE];
		char szLED[MAX_LINE];
		int vmode;
} CONFIGENTRY, *LPCONFIGENTRY;

typedef enum {
	VID_INVALID	= 0x00000000,
	NTSC_M		= 0x00400100,
	PAL_I		= 0x00800300
} VIDEO_STANDARD;

int ParseConfig(char *szPath,char *szBuffer, CONFIGENTRY *entry);
void PrintConfig(CONFIGENTRY *entry);

#endif // _BootParser_H_
