directory: don't pass "fd" to updateInit()

Again, move error handling to command.c.
This commit is contained in:
Max Kellermann
2008-09-07 13:50:06 +02:00
parent 17b6491bcf
commit 8e3c40f032
3 changed files with 53 additions and 17 deletions

View File

@@ -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);