Convert eventqueu to C.