remove need for the struct and enum stuff using typedefs
5 files changed