#ifndef _CONFIG_H
#define _CONFIG_H

#include "xbox.h"
#include "sys/types.h"
#include "sys/nttypes.h"

#define MAX_LINE 1024

extern unsigned char DebugFlag;
extern unsigned char AlwaysIntro;

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

CONFIGENTRY * GetConfig(char *szDrive);
int ParseConfig(char *szPath,char *szBuffer, CONFIGENTRY *entry);

#endif // _CONFIG_H
