summaryrefslogtreecommitdiffstats
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/data.h b/src/data.h
index 72d3743..43a3ef7 100644
--- a/src/data.h
+++ b/src/data.h
@@ -8,6 +8,7 @@ struct tag {
char *name, *fpath;
struct list tracks;
bool index_dirty;
+ bool reordered;
struct link link; /* tags list */
struct link link_sel; /* selected tags list */
@@ -33,9 +34,6 @@ bool copy_file(const char *dst, const char *src);
bool dup_file(const char *dst, const char *src);
bool move_file(const char *dst, const char *src);
-void index_update(struct tag *tag);
-bool tracks_update(struct tag *tag);
-
struct track *tracks_vis_track(struct link *link);
void playlist_clear(void);
@@ -47,6 +45,11 @@ struct tag *tag_find(const char *name);
bool tag_rm(struct tag *tag, bool sync_fs);
bool tag_rename(struct tag *tag, const char *name);
+void tag_clear_tracks(struct tag *tag);
+void tag_load_tracks(struct tag *tag);
+void tag_save_tracks(struct tag *tag);
+bool tag_reindex_tracks(struct tag *tag);
+
struct track *track_add(struct tag *tag, const char *fname);
bool track_rm(struct track *track, bool sync_fs);
bool track_rename(struct track *track, const char *name);