generate exported structs into .h file