REPLAY_STATE_0
enum replay_state state = REPLAY_STATE_0;
if (state != REPLAY_STATE_0)
if (state == REPLAY_STATE_0)
enum replay_state pr_state = REPLAY_STATE_0;