A ticket validator written in C.