Is it possible to get the list of members of a structure as a char ** ?
char **
For example, something like this:
struct mystruct { int x;
There's no portable standard way of doing this. Last time I wanted to solve a similar problem I used SWIG to produce some XML which I then processed to generate the meta information I wanted. gcc-xml could do the same thing too.