crm_debug("Finding our node name");
crm_devel("Finding our node name");
register_with_ha(ll_cluster_t *hb_cluster, const char *client_name){	int facility;		if(safe_val3(NULL, hb_cluster, llc_ops, errmsg) == NULL) {		crm_crit("cluster errmsg function unavailable");	}		crm_info("Signing in with Heartbeat");	if (hb_cluster->llc_ops->signon(hb_cluster, client_name)!= HA_OK) {		crm_err("Cannot sign on with heartbeat: %s",			hb_cluster->llc_ops->errmsg(hb_cluster));		return FALSE;	}	/* change the logging facility to the one used by heartbeat daemon */	crm_info("Switching to Heartbeat logger");	if (( facility =	      hb_cluster->llc_ops->get_logfacility(hb_cluster)) > 0) {		cl_log_set_facility(facility); 	}		crm_verbose("Facility: %d", facility);	  	crm_debug("Be informed of CRM messages");	if (HA_OK != hb_cluster->llc_ops->set_msg_callback(		    hb_cluster, T_CRM, crmd_ha_msg_callback, hb_cluster)){				crm_err("Cannot set msg callback: %s",			hb_cluster->llc_ops->errmsg(hb_cluster));		return FALSE;	}#if 0	crm_debug("Be informed of Node Status changes");	if (HA_OK != hb_cluster->llc_ops->set_nstatus_callback(		    hb_cluster, crmd_ha_status_callback, hb_cluster)){				crm_err("Cannot set nstatus callback: %s",			hb_cluster->llc_ops->errmsg(hb_cluster));		return FALSE;	}#endif		crm_debug("Be informed of CRM Client Status changes");	if (HA_OK != hb_cluster->llc_ops->set_cstatus_callback(		    hb_cluster, crmd_client_status_callback, hb_cluster)) {		crm_err("Cannot set cstatus callback: %s\n",			hb_cluster->llc_ops->errmsg(hb_cluster));		return FALSE;	}	crm_info("beekhof: Client Status callback set");	crm_debug("Adding channel to mainloop");	G_main_add_IPC_Channel(		G_PRIORITY_HIGH, hb_cluster->llc_ops->ipcchan(hb_cluster),		FALSE, crmd_ha_msg_dispatch, hb_cluster /* userdata  */,  		crmd_ha_connection_destroy);	crm_debug("Finding our node name");	if ((fsa_our_uname =	     hb_cluster->llc_ops->get_mynodeid(hb_cluster)) == NULL) {		crm_err("get_mynodeid() failed");		return FALSE;	}	crm_info("FSA Hostname: %s", fsa_our_uname);	/* Async get client status information in the cluster */	crm_debug("Requesting an initial dump of CRMD client_status");	crm_info("beekhof: Requesting Client Status");	fsa_cluster_conn->llc_ops->client_status(		fsa_cluster_conn, NULL, CRM_SYSTEM_CRMD, -1);		return TRUE;    }