summaryrefslogtreecommitdiffstats
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 63f2f64..7c5c92b 100644
--- a/src/data.h
+++ b/src/data.h
@@ -23,6 +23,7 @@ struct track {
struct link link_hs; /* player history */
};
+bool path_exists(const char *path);
bool make_dir(const char *path);
bool rm_dir(const char *path, bool recursive);
bool rm_file(const char *path);
@@ -45,6 +46,9 @@ bool tag_rm(struct tag *tag, bool sync_fs);
struct track *track_add(struct tag *tag, const char *fname);
bool track_rm(struct track *track, bool sync_fs);
+bool acquire_lock(const char *path);
+bool release_lock(const char *path);
+
void data_load(void);
void data_save(void);
void data_free(void);