rem: struct sip_uri puri;
context: static inline int is_2rr(str* _uri){	str s;	int i, state = 0;	struct sip_uri puri;	if (parse_uri(_uri->s, _uri->len, &puri) < 0) {		LOG(L_ERR, "is_2rr(): Error while parsing Request URI\n");		return 0;	}	if (puri.params.len == 0) return 0;	s = puri.params;	s.len--;	s.s++;	for(i = 0; i < s.len; i++) {		switch(state) {		case 0:			switch(s.s[i]) {			case ' ':			case '\r':			case '\n':			case '\t':           break;			case 'r':			case 'R': state = 1; break;			default:  state = 4; break;			}			break;		case 1:			switch(s.s[i]) {			case '2': state = 2; break;			default:  state = 4; break;			}			break;		case 2:			switch(s.s[i]) {			case ';':  return 1;			case ' ':			case '\r':			case '\n':			case '\t': state = 3; break;			default:   state = 4; break;			}			break;		case 3:			switch(s.s[i]) {			case ';':  return 1;			case ' ':			case '\r':			case '\n':			case '\t': break;			default:   state = 4; break;			}			break;		case 4:			switch(s.s[i]) {			case '\"': state = 5; break;			case ';':  state = 0; break;			default:              break;			}			break;					case 5:			switch(s.s[i]) {			case '\\': state = 6; break;			case '\"': state = 4; break;			default:              break;			}			break;		case 6: state = 5; break;		}	}		if ((state == 2) || (state == 3)) return 1;	else return 0;}