STATE_HEAD
fCurrentState(STATE_HEAD),
if (state <= STATE_HEAD || state >= STATE_MAX)
if (fCurrentState == STATE_HEAD) {