int facility; ll_cluster_t *hb_cluster = NULL;
enum cib_errors rc = cib_ok;   xmlInitParser();
do_init(void){	int facility;	ll_cluster_t *hb_cluster = NULL;	/* docs say only do this once, but in their code they do it every time! */	xmlInitParser (); 	/* change the logging facility to the one used by heartbeat daemon */	hb_cluster = ll_cluster_new("heartbeat");		crm_info("Switching to Heartbeat logger");	if (( facility =	      hb_cluster->llc_ops->get_logfacility(hb_cluster)) > 0) {		cl_log_set_facility(facility);	}	crm_malloc(admin_uuid, sizeof(char) * 11);	if(admin_uuid != NULL) {		snprintf(admin_uuid, 10, "%d", getpid());		admin_uuid[10] = '\0';	}		crmd_channel =		init_client_ipc_comms(CRM_SYSTEM_CRMD,admin_msg_callback,NULL);	if(crmd_channel != NULL) {		send_hello_message(crmd_channel,				   admin_uuid, crm_system_name,				   "0", "1");		return hb_cluster;	} 	return NULL;}