starting datbody: dat file c structs and functions