diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-12 03:35:45 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-12 05:27:34 -0700 |
commit | bb106c3bf8daf366a4b4ca7229010c038f89755c (patch) | |
tree | 2db77aeed63d095a5533fb6f5d175af4cb10dade /src/directory.h | |
parent | d60f11020f4901b806c822ef5ab2d87bbb9e4077 (diff) | |
download | mpd-bb106c3bf8daf366a4b4ca7229010c038f89755c.tar.gz mpd-bb106c3bf8daf366a4b4ca7229010c038f89755c.tar.xz mpd-bb106c3bf8daf366a4b4ca7229010c038f89755c.zip |
directory: always maintain sorted properties vectors
This allows clients to see sorted results while we're
updating the DB and removes the need for us to have
to sort manually.
We'll have to write separate routines for managing stored
playlists with songvecs eventually; but that's for another day.
Diffstat (limited to 'src/directory.h')
-rw-r--r-- | src/directory.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/directory.h b/src/directory.h index bb2888034..8f0d797a8 100644 --- a/src/directory.h +++ b/src/directory.h @@ -92,8 +92,6 @@ int directory_save(int fd, struct directory *dir); void directory_load(FILE *fp, struct directory *dir); -void directory_sort(struct directory *dir); - int db_walk(const char *name, int (*forEachSong) (struct mpd_song *, void *), int (*forEachDir) (struct directory *, void *), void *data); |