diff options
author | Max Kellermann <max@duempel.org> | 2009-09-24 21:55:40 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-09-24 21:55:40 +0200 |
commit | 89ba540e6d76aae0a594daebb9db8524ea3ed528 (patch) | |
tree | b9b9dda03556ceeb98f620255c9148098d178da7 /src/update_internal.h | |
parent | 47ab2ad6f375e9f3afe2efe6a1da70ce98cec52b (diff) | |
download | mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.tar.gz mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.tar.xz mpd-89ba540e6d76aae0a594daebb9db8524ea3ed528.zip |
command: added command "rescan"
"rescan" is the same as "update", but it discards existing songs in
the database.
Diffstat (limited to '')
-rw-r--r-- | src/update_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/update_internal.h b/src/update_internal.h index b22b3c6b2..14701feb5 100644 --- a/src/update_internal.h +++ b/src/update_internal.h @@ -33,10 +33,10 @@ struct directory; extern struct notify update_notify; unsigned -update_queue_push(const char *path, unsigned base); +update_queue_push(const char *path, bool discard, unsigned base); char * -update_queue_shift(void); +update_queue_shift(bool *discard_r); void update_walk_global_init(void); @@ -48,7 +48,7 @@ update_walk_global_finish(void); * Returns true if the database was modified. */ bool -update_walk(const char *path); +update_walk(const char *path, bool discard); void update_remove_global_init(void); |