Have to typedef your structs in C.