while(g_slist_length(graph) > 0) { action_list_t *action_list = g_slist_nth_data(graph, 0); while(g_slist_length(action_list->actions) > 0) {
while(g_list_length(graph) > 0) { action_list_t *action_list = g_list_nth_data(graph, 0); while(g_list_length(action_list->actions) > 0) {
initialize_graph(void){	while(g_slist_length(graph) > 0) {		action_list_t *action_list = g_slist_nth_data(graph, 0);		while(g_slist_length(action_list->actions) > 0) {			xmlNodePtr action =				g_slist_nth_data(action_list->actions, 0);			action_list->actions =				g_slist_remove(action_list->actions, action);			free_xml(action);		}		graph = g_slist_remove(graph, action_list);		crm_free(action_list);	}	graph = NULL;		return TRUE;}