aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.h')
-rw-r--r--src/update.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/update.h b/src/update.h
index 7e81006ce..9a51afc01 100644
--- a/src/update.h
+++ b/src/update.h
@@ -27,12 +27,14 @@ void update_global_finish(void);
unsigned
isUpdatingDB(void);
-/*
- * returns the positive update job ID on success,
- * returns 0 if busy
- * @path will be freed by this function and should not be reused
+/**
+ * Add this path to the database update queue.
+ *
+ * @param path a path to update; if NULL or an empty string,
+ * the whole music directory is updated
+ * @return the job id, or 0 on error
*/
unsigned
-update_enqueue(char *path);
+update_enqueue(const char *path);
#endif