pub type KOVL_WAIT_FLAG = c_int;