diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-04 21:00:47 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-04 21:00:52 -0700 |
commit | 3e0c1bcf6237f42506cd0d74046e74a70fff0cb7 (patch) | |
tree | 29340c40beff08df42d8a05a296172959dacec7d /src/directory.h | |
parent | 662b6bc9d75d879e52456f680fb1c4fdd0053996 (diff) | |
parent | 18ba438d902c801c5f1a6a37d43c87a779e06a84 (diff) | |
download | mpd-3e0c1bcf6237f42506cd0d74046e74a70fff0cb7.tar.gz mpd-3e0c1bcf6237f42506cd0d74046e74a70fff0cb7.tar.xz mpd-3e0c1bcf6237f42506cd0d74046e74a70fff0cb7.zip |
Merge commit 'box/directory' into ew/song-locks
* commit 'box/directory':
command: get rid of specialized list handlers
directory: simplify list update handling logic
main_notify: define main_task so we can use it for assertions
directory: streamline deletes
Conflicts:
src/command.c
Diffstat (limited to 'src/directory.h')
-rw-r--r-- | src/directory.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/directory.h b/src/directory.h index eb1b35aa7..20b784166 100644 --- a/src/directory.h +++ b/src/directory.h @@ -43,11 +43,10 @@ int isUpdatingDB(void); /* * returns the non-negative update job ID on success, - * -1 if busy, -2 if invalid argument - * @argv itself is safe to free once updateInit returns, but the - * string values contained by @argv MUST NOT be freed manually + * returns -1 if busy + * @path will be freed by this function and should not be reused */ -int updateInit(int argc, char *argv[]); +int directory_update_init(char *path); void directory_init(void); |