native_unpack(rsc);
void group_unpack(resource_t *rsc){	xmlNodePtr xml_obj = rsc->xml;	group_variant_data_t *group_data = NULL;	native_unpack(rsc);	crm_malloc(group_data, sizeof(group_variant_data_t));	group_data->num_children = 0;	group_data->child_list   = NULL;	group_data->first_child  = NULL;	group_data->last_child   = NULL;		xml_child_iter(		xml_obj, xml_native_rsc, XML_CIB_TAG_RESOURCE,		resource_t *new_rsc = NULL;		if(common_unpack(xml_native_rsc, &new_rsc)) {			group_data->num_children++;			group_data->child_list = g_list_append(				group_data->child_list, new_rsc);						if(group_data->first_child == NULL) {				group_data->first_child = new_rsc;			}			group_data->last_child = new_rsc;/* 			crm_debug("Merging node list with new child"); *//* 			old_list = rsc->allowed_nodes; *//* 			old_list = node_list_and(rsc->allowed_nodes, *//* 						 new_rsc->allowed_nodes, FALSE); *//* 			pe_free_shallow(old_list); */						crm_debug_action(				print_resource("Added", new_rsc, FALSE));		} else {			crm_err("Failed unpacking resource %s",				xmlGetProp(xml_obj, XML_ATTR_ID));		}		);		rsc->variant_opaque = group_data;}