pe_debug_on(); 
create_action_set(action_t *action){	int lpc = 0;	GSListPtr result = NULL;	GSListPtr tmp = NULL;	if(action->processed) {		return NULL;	}	pdebug_action(print_action("Create action set for", action, FALSE));	pe_debug_on();		// process actions_before	if(action->seen_count == 0) {		pdebug("Processing \"before\" for action %d", action->id);		slist_iter(			other, action_wrapper_t, action->actions_before, lpc,			tmp = create_action_set(other->action);			pdebug("%d (%d total) \"before\" actions for %d)",			       g_slist_length(tmp), g_slist_length(result),action->id);			result = g_slist_concat(result, tmp);			);		// add ourselves		pdebug("Adding self %d", action->id);		if(action->processed == FALSE) {			result = g_slist_append(result, action);			action->processed = TRUE;		}			} else {		pdebug("Already seen action %d", action->id);		pdebug("Processing \"before\" for action %d", action->id);		slist_iter(			other, action_wrapper_t, action->actions_before, lpc,						if(other->action->seen_count > action->seen_count			   && other->strength == must) {				tmp = create_action_set(other->action);				pdebug("%d (%d total) \"before\" actions for %d)",				       g_slist_length(tmp), g_slist_length(result),action->id);				result = g_slist_concat(result, tmp);			}						);		// add ourselves		pdebug("Adding self %d", action->id);		if(action->processed == FALSE) {			result = g_slist_append(result, action);			action->processed = TRUE;		}		// add strength == !MUST		slist_iter(			other, action_wrapper_t, action->actions_before, lpc,						tmp = create_action_set(other->action);			pdebug("%d (%d total) post-self \"before\" actions for %d)",			       g_slist_length(tmp), g_slist_length(result),action->id);			result = g_slist_concat(result, tmp);			);	}		action->seen_count = action->seen_count + 1;		// process actions_after	pdebug("Processing \"after\" for action %d", action->id);	slist_iter(		other, action_wrapper_t, action->actions_after, lpc,		tmp = create_action_set(other->action);		pdebug("%d (%d total) \"after\" actions for %d)",		       g_slist_length(tmp), g_slist_length(result),action->id);		result = g_slist_concat(result, tmp);		);		return result;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/ef9140540dcbd0157a65209242ba82186e30420b/pengine.c/buggy/crm/pengine/pengine.c