crm_log_message_adv(all_is_good?LOG_MSG:LOG_ERR,"HA[outbound]",msg);
crm_log_message_adv(all_is_good?LOG_MSG:LOG_WARNING,"HA[outbound]",msg);
send_ha_message(ll_cluster_t *hb_conn, HA_Message *msg, const char *node){	gboolean all_is_good = TRUE;	if (msg == NULL) {		crm_err("cant send NULL message");		all_is_good = FALSE;	} else if(hb_conn == NULL) {		crm_err("No heartbeat connection specified");		all_is_good = FALSE;	} else if(hb_conn->llc_ops->chan_is_connected(hb_conn) != HA_OK) {		crm_err("Not connected to Heartbeat");		all_is_good = FALSE;			} else if(node == NULL		  && hb_conn->llc_ops->sendclustermsg(hb_conn, msg) != HA_OK) {		IPC_Channel *ipc = hb_conn->llc_ops->ipcchan(hb_conn);		all_is_good = FALSE;		crm_err("Broadcast Send failed");		CRM_DEV_ASSERT(ipc->send_queue->current_qlen < ipc->send_queue->max_qlen);	} else if(node != NULL		  && hb_conn->llc_ops->send_ordered_nodemsg(			  hb_conn, msg, node) != HA_OK) {		IPC_Channel *ipc = hb_conn->llc_ops->ipcchan(hb_conn);		all_is_good = FALSE;		crm_err("Send failed");		CRM_DEV_ASSERT(ipc->send_queue->current_qlen < ipc->send_queue->max_qlen);	}	crm_log_message_adv(all_is_good?LOG_MSG:LOG_ERR,"HA[outbound]",msg);	return all_is_good;}