In C I have an array of structs defined like:
struct D { char *a; char *b; char *c; }; static struct D a[] = { ...
I have the following kind of code:
typedef struct { u32 count; u16 list[]; } message_t; ... message_t* msg = (message_t*)buffer; msg->count ...