diff --git a/src/filelist.h b/src/filelist.h
index ee6e60610fa7fc01803a52b3252f5f1b792b6793..63c2758ff0dea7753193aeb533fa7c3ee86fa7ab 100644 (file)
--- a/src/filelist.h
+++ b/src/filelist.h
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2010 The Music Player Daemon Project
* Project homepage: http://musicpd.org
* This program is free software; you can redistribute it and/or modify
struct filelist_entry *
filelist_append(struct filelist *filelist, struct mpd_entity *entity);
-struct filelist_entry *
-filelist_prepend(struct filelist *filelist, struct mpd_entity *entity);
-
void
filelist_move(struct filelist *filelist, struct filelist *from);
+gint
+compare_filelist_entry_path(gconstpointer filelist_entry1,
+ gconstpointer filelist_entry2);
+
/* Sorts the whole filelist, at the moment used by filelist_search */
void
filelist_sort_all(struct filelist *filelist, GCompareFunc compare_func);
void
filelist_sort_dir_play(struct filelist *filelist, GCompareFunc compare_func);
+/**
+ * Eliminates duplicate songs from the filelist.
+ */
+void
+filelist_no_duplicates(struct filelist *filelist);
+
int
filelist_find_song(struct filelist *flist, const struct mpd_song *song);