#ifndef __CONF_H__
#define __CONF_H__

typedef struct
{

	int enableUsbMass;
	int defaultCpuSpeed;

	int comboButton;
	
	int resetEnable;
	int resetButton;

	int poweroffEnable;	
	int poweroffButton;
	
	int cpuspeedEnable;
	int cpuspeedButton;
	
	int startStopUsbmassEnable;
	int startStopUsbmassButton;
	
	int startFtpdEnable;	
	int startFtpdButton;

	int takeScreenshotEnable;	
	int takeScreenshotButton;
	
	int captureEnable;
	int captureButton;
	
	char captureFolder[64];

} CONFIGFILE;

void read_config(const char *file, CONFIGFILE *config);

#endif 
