aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_vector.h')
-rw-r--r--src/playlist_vector.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlist_vector.h b/src/playlist_vector.h
index a2ba306d3..566de5f00 100644
--- a/src/playlist_vector.h
+++ b/src/playlist_vector.h
@@ -58,7 +58,10 @@ void
playlist_vector_add(struct playlist_vector *pv,
const char *name, time_t mtime);
-void
+/**
+ * @return true if the vector or one of its items was modified
+ */
+bool
playlist_vector_update_or_add(struct playlist_vector *pv,
const char *name, time_t mtime);