Files
Alexander Hartmann 775dd894d8 added screen init, added splash screens, added visual debug output, added
the posibility to set a delay for checking the pressed key
2016-02-29 18:36:11 +01:00

22 lines
473 B
C

#pragma once
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include "ini.h"
typedef struct {
char* section;
char path[64];
unsigned long long delay;
unsigned long payload;
unsigned long offset;
int splash;
char splash_image[64];
unsigned int screenEnabled;
} configuration;
#define MATCH(s, n) strcmp(section, s) == 0 && strcmp(name, n) == 0
int handler(void *user, const char *section, const char *name, const char *value);