src: remove typedefs for structs

Remove all typedefs for structs, they were hiding the real type.