Various data structures in plain c