aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-12 03:35:45 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-12 05:27:34 -0700
commitbb106c3bf8daf366a4b4ca7229010c038f89755c (patch)
tree2db77aeed63d095a5533fb6f5d175af4cb10dade /src/dirvec.h
parentd60f11020f4901b806c822ef5ab2d87bbb9e4077 (diff)
downloadmpd-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/dirvec.h')
-rw-r--r--src/dirvec.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dirvec.h b/src/dirvec.h
index b820e8739..6709537b8 100644
--- a/src/dirvec.h
+++ b/src/dirvec.h
@@ -8,8 +8,6 @@ struct dirvec {
size_t nr;
};
-void dirvec_sort(struct dirvec *dv);
-
struct directory *dirvec_find(const struct dirvec *dv, const char *path);
int dirvec_delete(struct dirvec *dv, struct directory *del);