use automatically generated C_STRUCTS