pub type RR_mode = c_int;
@brief Record/Replay modes. Also used to request transitions from one mode to another.