diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 13:50:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 13:50:06 +0200 |
commit | 8e3c40f032d1c760b9dc11df654c577baaf5f76a (patch) | |
tree | 687efc5e38d704c43675dd841a2ec67dc701f478 /src/directory.h | |
parent | 17b6491bcf37503bbc5d6cf6cee00bd1c6ec834a (diff) | |
download | mpd-8e3c40f032d1c760b9dc11df654c577baaf5f76a.tar.gz mpd-8e3c40f032d1c760b9dc11df654c577baaf5f76a.tar.xz mpd-8e3c40f032d1c760b9dc11df654c577baaf5f76a.zip |
directory: don't pass "fd" to updateInit()
Again, move error handling to command.c.
Diffstat (limited to 'src/directory.h')
-rw-r--r-- | src/directory.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/directory.h b/src/directory.h index 19dada309..f23372c3b 100644 --- a/src/directory.h +++ b/src/directory.h @@ -42,7 +42,12 @@ int isUpdatingDB(void); void directory_sigChldHandler(int pid, int status); -int updateInit(int fd, List * pathList); +/** + * Starts the tag cache update in the specified location(s). Returns + * the job id on success, -1 on error or 0 if an update is already + * running. + */ +int updateInit(List * pathList); void initMp3Directory(void); |