old_log = set_crm_log_level(LOG_TRACE);
stage0(xmlNodePtr cib,       GListPtr *resources,       GListPtr *nodes, GListPtr *node_constraints,       GListPtr *actions, GListPtr *action_constraints,       GListPtr *stonith_list, GListPtr *shutdown_list){//	int lpc;	int old_log = 0;	xmlNodePtr cib_nodes       = get_object_root(		XML_CIB_TAG_NODES,       cib);	xmlNodePtr cib_status      = get_object_root(		XML_CIB_TAG_STATUS,      cib);	xmlNodePtr cib_resources   = get_object_root(		XML_CIB_TAG_RESOURCES,   cib);	xmlNodePtr cib_constraints = get_object_root(		XML_CIB_TAG_CONSTRAINTS, cib);	xmlNodePtr config          = get_object_root(		XML_CIB_TAG_CRMCONFIG,   cib);	xmlNodePtr agent_defaults  = NULL;	//get_object_root(XML_CIB_TAG_RA_DEFAULTS, cib);	/* reset remaining global variables */	max_valid_nodes = 0;	order_id = 1;	action_id = 1;	unpack_config(config);		unpack_global_defaults(agent_defaults);		unpack_nodes(safe_val(NULL, cib_nodes, children), nodes);	unpack_resources(safe_val(NULL, cib_resources, children),			 resources, actions, action_constraints, *nodes);	old_log = set_crm_log_level(LOG_TRACE);	unpack_status(safe_val(NULL, cib_status, children),		      *nodes, *resources, actions, node_constraints);	unpack_constraints(safe_val(NULL, cib_constraints, children),			   *nodes, *resources,			   node_constraints, action_constraints);//	set_crm_log_level(old_log);	return TRUE;}