new_con      = crm_malloc(sizeof(rsc_to_rsc_t));  new_con->id       = id; new_con->rsc_lh   = rsc_lh; new_con->rsc_rh   = rsc_rh; new_con->strength = strength; new_con->variant  = type; 
crm_malloc(new_con, sizeof(rsc_to_rsc_t)); if(new_con != NULL) { new_con->id       = id; new_con->rsc_lh   = rsc_lh; new_con->rsc_rh   = rsc_rh; new_con->strength = strength; new_con->variant  = type;  inverted_con = invert_constraint(new_con);  rsc_lh->rsc_cons = g_list_insert_sorted( rsc_lh->rsc_cons, new_con, sort_cons_strength);  rsc_rh->rsc_cons = g_list_insert_sorted( rsc_rh->rsc_cons, inverted_con, sort_cons_strength); } else { return FALSE; } 
rsc2rsc_new(const char *id, enum con_strength strength, enum rsc_con_type type,	    resource_t *rsc_lh, resource_t *rsc_rh){	rsc_to_rsc_t *new_con      = NULL;	rsc_to_rsc_t *inverted_con = NULL;	if(rsc_lh == NULL || rsc_rh == NULL){		/* error */		return FALSE;	}	new_con      = crm_malloc(sizeof(rsc_to_rsc_t));	new_con->id       = id;	new_con->rsc_lh   = rsc_lh;	new_con->rsc_rh   = rsc_rh;	new_con->strength = strength;	new_con->variant  = type;		inverted_con = invert_constraint(new_con);	rsc_lh->rsc_cons = g_list_insert_sorted(		rsc_lh->rsc_cons, new_con, sort_cons_strength);		rsc_rh->rsc_cons = g_list_insert_sorted(		rsc_rh->rsc_cons, inverted_con, sort_cons_strength);	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/69f8a14658aeeee09c5c270dd118170c371c0ecf/unpack.c/clean/crm/pengine/unpack.c