IN_MSGSTR
if ((tmp_elem != NULL) && (state == IN_MSGSTR)) {
if ((state == INIT_STATE) || (state == IN_MSGSTR)) {
if (state == IN_MSGSTR) {
state = IN_MSGSTR;
} else if (state == IN_MSGSTR) {