rem: icalproperty_new_requeststatus( icalreqstattype_as_string(rst) ) );
add: icalproperty_new_requeststatus(rst));
context: void icalcomponent_convert_errors(icalcomponent* component){    icalproperty *p, *next_p;    icalcomponent *c;    for(p = icalcomponent_get_first_property(component,ICAL_ANY_PROPERTY);	p != 0;	p = next_p){		next_p = icalcomponent_get_next_property(component,ICAL_ANY_PROPERTY);	if(icalproperty_isa(p) == ICAL_XLICERROR_PROPERTY)	{	    struct icalreqstattype rst;	    icalparameter *param  = icalproperty_get_first_parameter		(p,ICAL_XLICERRORTYPE_PARAMETER);	    rst.code = ICAL_UNKNOWN_STATUS;	    rst.desc = 0;	    switch(icalparameter_get_xlicerrortype(param)){		case  ICAL_XLICERRORTYPE_PARAMETERNAMEPARSEERROR: {		    rst.code = ICAL_3_2_INVPARAM_STATUS;		    break;		}		case  ICAL_XLICERRORTYPE_PARAMETERVALUEPARSEERROR: {		    rst.code = ICAL_3_3_INVPARAMVAL_STATUS;		    break;		}		case  ICAL_XLICERRORTYPE_PROPERTYPARSEERROR: {		    		    rst.code = ICAL_3_0_INVPROPNAME_STATUS;		    break;		}		case  ICAL_XLICERRORTYPE_VALUEPARSEERROR: {		    rst.code = ICAL_3_1_INVPROPVAL_STATUS;		    break;		}		case  ICAL_XLICERRORTYPE_COMPONENTPARSEERROR: {		    rst.code = ICAL_3_4_INVCOMP_STATUS;		    break;		}		default: {		}	    }	    if (rst.code != ICAL_UNKNOWN_STATUS){				rst.debug = icalproperty_get_xlicerror(p);		icalcomponent_add_property(component,					   icalproperty_new_requeststatus(					       icalreqstattype_as_string(rst)					       )		    );				icalcomponent_remove_property(component,p);	    }	}    }    for(c = icalcomponent_get_first_component(component,ICAL_ANY_COMPONENT);	c != 0;	c = icalcomponent_get_next_component(component,ICAL_ANY_COMPONENT)){		icalcomponent_convert_errors(c);    }}