2017-08-20 22:29:01 +02:00
|
|
|
typedef struct {
|
|
|
|
#for $configItem in $configItems
|
|
|
|
#if $configItem.type == 'C'
|
|
|
|
char ${configItem.key}[$configItem.length];
|
|
|
|
#else if $configItem.type == 'I'
|
|
|
|
uint32_t $configItem.key;
|
|
|
|
#end if
|
|
|
|
#end for
|
|
|
|
} tConfigBlock;
|
|
|
|
|
|
|
|
extern const uint32_t MAGIC;
|
|
|
|
extern tConfigBlock configBlock;
|
|
|
|
|
|
|
|
void configServeIndex();
|
|
|
|
void configServeGetConfiguration();
|
2017-08-20 23:29:14 +02:00
|
|
|
void showConfiguration();
|