int sub_type_len = strlen(to) + strlen(XML_MSG_TAG_REQUEST) + 2;
int sub_type_len = strlen(to) + strlen(XML_ATTR_REQUEST) + 2;
createPingRequest(const char *crm_msg_reference, const char *to){	xmlNodePtr root_xml_node = NULL;	FNIN();		// 2 = "_" + '\0'	int sub_type_len = strlen(to) + strlen(XML_MSG_TAG_REQUEST) + 2; 	char *sub_type_target =		(char*)ha_malloc(sizeof(char)*(sub_type_len));	sprintf(sub_type_target, "%s_%s", to, XML_MSG_TAG_REQUEST);	root_xml_node   = create_xml_node(NULL, sub_type_target);	set_xml_property_copy(root_xml_node,			      XML_MSG_ATTR_REFERENCE,			      crm_msg_reference);    	int msg_type_len = strlen(to) + 10 + 1; // + "_operation" + '\0'	char *msg_type_target =		(char*)ha_malloc(sizeof(char)*(msg_type_len));	sprintf(msg_type_target, "%s_operation", to);	set_xml_property_copy(root_xml_node, msg_type_target, "ping");//    ha_free(msg_type_target);	FNRET(root_xml_node);}