xmlNodePtr res = findConstraint(cib, id); if (res != NULL) { unlink_xml_node(res);  } FNRET(0);
int del_res = -1; FNIN();  del_res = cib_delete_node(findConstraint(cib, id));  FNRET(del_res);
delConstraint(xmlNodePtr cib, const char *id){    xmlNodePtr res = findConstraint(cib, id);    if (res != NULL) {		unlink_xml_node(res);//	xmlFreeNodeList(res);    }    FNRET(0);}