Variable and structure definitions