split the struct table in two tables

(members by offset and members by name)
restore the "next" functionnality on structs
fix enums not working correctly