CRM_DEBUG2("Sending of IPC message %s.",
CRM_DEBUG("Sending of IPC message %s.",
send_ipc_message(IPC_Channel *ipc_client, IPC_Message *msg){	gboolean all_is_good = TRUE;	int lpc = 0;	FNIN();	if (msg == NULL) {		cl_log(LOG_WARNING, "cant send NULL message");		all_is_good = FALSE;	}	else if (msg->msg_len <= 0) {		cl_log(LOG_WARNING, "cant send 0 sized message");		all_is_good = FALSE;	}	else if (msg->msg_len > MAXDATASIZE) {		cl_log(LOG_WARNING, "cant send msg... too big");		all_is_good = FALSE;	}    /*     CRM_DEBUG2("Sending message: %s", (char*)msg->msg_body); */	CRM_DEBUG2("Message is%s valid to send", all_is_good?"":" not");	if (ipc_client == NULL) {		all_is_good = FALSE;	}	CRM_DEBUG2("IPC Client is%s set.", all_is_good?"":" not");	if (all_is_good) {				while(lpc++ < MAX_IPC_FAIL		      && ipc_client->ops->send(ipc_client, msg) == IPC_FAIL)		{			cl_log(LOG_WARNING, "ipc channel blocked");			cl_shortsleep();		}	}		if (lpc == MAX_IPC_FAIL) {		cl_log(LOG_ERR,		       "Could not send IPC, message.  Channel is dead.");		FNRET(!all_is_good);	}    	CRM_DEBUG2("Sending of IPC message %s.",		   all_is_good?"succeeded":"failed");	FNRET(all_is_good);}