command: added command "rescan"

"rescan" is the same as "update", but it discards existing songs in
the database.
This commit is contained in:
Max Kellermann
2009-09-24 21:55:40 +02:00
parent 47ab2ad6f3
commit 89ba540e6d
8 changed files with 81 additions and 27 deletions

View File

@@ -35,6 +35,6 @@ isUpdatingDB(void);
* @return the job id, or 0 on error
*/
unsigned
update_enqueue(const char *path);
update_enqueue(const char *path, bool discard);
#endif