rem: scheduled_transaction = slist_ptr -> data;
add: scheduled_number = gsb_data_scheduled_get_scheduled_number (slist_ptr -> data);
context: void gsb_scheduler_check_scheduled_transactions_time_limit ( void ){    GDate *pGDateCurrent;    GSList *slist_ptr;    GSList *last_slist_ptr;    if ( DEBUG )	printf ( "gsb_scheduler_check_scheduled_transactions_time_limit\n" );    /* the scheduled transactions to take will be check here,     * but the scheduled transactions taked will be add to the append ones */    scheduled_transactions_to_take = NULL;    /* get the date today + nb_days_before_scheduled */    pGDateCurrent = gdate_today ();    g_date_add_days ( pGDateCurrent,		      nb_days_before_scheduled );    /* check all the scheduled transactions,     * if automatic, it's taken     * if manual, appened into scheduled_transactions_to_take */    slist_ptr = liste_struct_echeances;    last_slist_ptr = NULL;    while ( slist_ptr )    {	struct operation_echeance *scheduled_transaction;	scheduled_transaction = slist_ptr -> data;	/* we check that scheduled transaction only if it's not a child of a breakdown */	if ( !scheduled_transaction -> no_operation_ventilee_associee	     &&	     g_date_compare ( scheduled_transaction -> date,			      pGDateCurrent ) <= 0 )	{	    if ( scheduled_transaction -> auto_man )	    {		/* take automaticly the scheduled transaction untill today */		while ( slist_ptr != last_slist_ptr			&&			g_date_compare ( scheduled_transaction -> date, pGDateCurrent ) <= 0 )		{		    gint transaction_number;		    transaction_number = gsb_scheduler_create_transaction_from_scheduled_transaction ( scheduled_transaction );		    scheduled_transactions_taken = g_slist_append ( scheduled_transactions_taken,								    GINT_TO_POINTER (transaction_number));		    /* set the scheduled transaction to the next date,		     * if it finished, we set slist_ptr on the slist just before that one		     * and finish the while */		    if ( !gsb_scheduler_increase_scheduled_transaction ( scheduled_transaction ))		    {			if ( !last_slist_ptr )			{			    last_slist_ptr = liste_struct_echeances;			    /* as we will check again all the scheduled transactions, set that list			     * to NULL */			    scheduled_transactions_to_take = NULL;			}			slist_ptr = last_slist_ptr;		    }		}	    }	    else		/* it's a manual scheduled transaction, we put it in the slist */		scheduled_transactions_to_take = g_slist_append ( scheduled_transactions_to_take ,								  scheduled_transaction );	}	if ( last_slist_ptr == liste_struct_echeances && slist_ptr == last_slist_ptr )	    last_slist_ptr = NULL;	else	{	    last_slist_ptr = slist_ptr;	    slist_ptr = slist_ptr -> next;	}    }    if ( scheduled_transactions_taken )    {	mise_a_jour_liste_echeances_auto_accueil = 1;	modification_fichier ( TRUE );    }    if ( scheduled_transactions_to_take )	mise_a_jour_liste_echeances_manuelles_accueil = 1;}