order = (order_constraint_t*)crm_malloc(sizeof(order_constraint_t));
crm_malloc(order, sizeof(order_constraint_t));  if(order != NULL) { order->id        = order_id++; order->strength  = strength; order->lh_action = before; order->rh_action = after;  *action_constraints = g_list_append( *action_constraints, order); }
order_new(action_t *before, action_t *after, enum con_strength strength,	  GListPtr *action_constraints){	order_constraint_t *order = NULL;	if(before == NULL || after == NULL || action_constraints == NULL){		crm_err("Invalid inputs b=%p, a=%p l=%p",			before, after, action_constraints);		return FALSE;	}	order = (order_constraint_t*)crm_malloc(sizeof(order_constraint_t));		order->id        = order_id++;	order->strength  = strength;	order->lh_action = before;	order->rh_action = after;		*action_constraints = g_list_append(*action_constraints, order);	return TRUE;}