The structure is a declaration of type.
In this case I am creating a variable of type LogModel
LogModel logRecord; // variable logRecord of type LogModel
Later on in my code I create another variable:
LogModel * record;
And you see references in the error stream above to 'record'.
I then typecast the LogModel* to a byte*.
record = &logRecord;
byte * eeData = (byte*)record;
This is so I can read/write bytes to the EEPROM with eeData semantics.
I create two utility functions:
int readLog (LogModel * record, int index);
int writeLog (LogModel * record, int index);
I use these to read and write the logRecord variable to EEPROM.
While I am new to wiring/arduino, I have been doing embedded C development for decades.
What I don't understand is how to tell wiring to ignore a block and not attempt to create prototypes (I can do that myself).