16 lines
368 B
Cheetah
16 lines
368 B
Cheetah
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();
|
|
void showConfiguration(); |