crm_debug("Created ordering constraint %d (%s):"
crm_devel("Created ordering constraint %d (%s):"
order_new(resource_t *lh_rsc, enum action_tasks lh_action_task, action_t *lh_action,	  resource_t *rh_rsc, enum action_tasks rh_action_task, action_t *rh_action,	  enum con_strength strength, GListPtr *ordering_constraints){	order_constraint_t *order = NULL;	if((lh_action == NULL && lh_rsc == NULL)	   || (rh_action == NULL && rh_rsc == NULL)	   || ordering_constraints == NULL){		crm_err("Invalid inputs lh_rsc=%p, lh_a=%p,"			" rh_rsc=%p, rh_a=%p,  l=%p",			lh_rsc, lh_action, rh_rsc, rh_action,			ordering_constraints);		return FALSE;	}	crm_malloc(order, sizeof(order_constraint_t));	if(order == NULL) {		return FALSE;	}		order->id             = order_id++;	order->strength       = strength;	order->lh_rsc         = lh_rsc;	order->rh_rsc         = rh_rsc;	order->lh_action      = lh_action;	order->rh_action      = rh_action;	order->lh_action_task = lh_action_task;	order->rh_action_task = rh_action_task;		*ordering_constraints = g_list_append(		*ordering_constraints, order);		if(lh_rsc != NULL && rh_rsc != NULL) {		crm_debug("Created ordering constraint %d (%s):"			 " %s/%s before %s/%s",			 order->id, strength2text(order->strength),			 lh_rsc->id, task2text(lh_action_task),			 rh_rsc->id, task2text(rh_action_task));			} else if(lh_rsc != NULL) {		crm_debug("Created ordering constraint %d (%s):"			 " %s/%s before action %d (%s)",			 order->id, strength2text(order->strength),			 lh_rsc->id, task2text(lh_action_task),			 rh_action->id, task2text(rh_action_task));			} else if(rh_rsc != NULL) {		crm_debug("Created ordering constraint %d (%s):"			 " action %d (%s) before %s/%s",			 order->id, strength2text(order->strength),			 lh_action->id, task2text(lh_action_task),			 rh_rsc->id, task2text(rh_action_task));			} else {		crm_debug("Created ordering constraint %d (%s):"			 " action %d (%s) before action %d (%s)",			 order->id, strength2text(order->strength),			 lh_action->id, task2text(lh_action_task),			 rh_action->id, task2text(rh_action_task));	}		return TRUE;}