static void delete_callback(int exit_code, void *context){ /* We got a full address */ if (exit_code != dec_yes) return; roadmap_history_delete_entry (context ); roadmap_history_save (); ssd_generic_list_dialog_hide (); roadmap_address_history(); }
static void purge_old_favorites(void){ void *cursor; roadmap_log( ROADMAP_WARNING, "Tripserver::purge_old_favorites"); cursor = roadmap_history_latest (ADDRESS_FAVORITE_CATEGORY); if( !cursor) return; while (cursor){ roadmap_history_delete_entry(cursor); cursor = roadmap_history_latest (ADDRESS_FAVORITE_CATEGORY); } }
void remider_remover_from_history(char *ID){ int iID = get_id(ID); ReminderTable.reminder[iID].in_use = FALSE; roadmap_history_delete_entry(ReminderTable.reminder[iID].history); }