if(crmd_channel != NULL) {
if(DO_RESOURCE || DO_RESOURCE_LIST || DO_NODE_LIST) { return hb_cluster;  } else if(crmd_channel != NULL) {
do_init(void){	int facility;	GCHSource *src = NULL;	ll_cluster_t *hb_cluster = NULL;		/* change the logging facility to the one used by heartbeat daemon */	hb_cluster = ll_cluster_new("heartbeat");		crm_debug_2("Switching to Heartbeat logger");	if (( facility =	      hb_cluster->llc_ops->get_logfacility(hb_cluster)) > 0) {		cl_log_set_facility(facility);	}	crm_malloc0(admin_uuid, sizeof(char) * 11);	if(admin_uuid != NULL) {		snprintf(admin_uuid, 10, "%d", getpid());		admin_uuid[10] = '\0';	}		src = init_client_ipc_comms(		CRM_SYSTEM_CRMD, admin_msg_callback, NULL, &crmd_channel);	if(crmd_channel != NULL) {		send_hello_message(			crmd_channel, admin_uuid, crm_system_name,"0", "1");		set_IPC_Channel_dnotify(src, crmd_ipc_connection_destroy);				return hb_cluster;	} 	return NULL;}