diff options
author | Max Kellermann <max@duempel.org> | 2012-06-13 22:14:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-06-13 22:14:16 +0200 |
commit | ede70ee3a4c6897f843f118c065da81737e2b74e (patch) | |
tree | edbb9d7caeefd2709e6203c992f377f4d4761cbf /src/update_song.h | |
parent | 66ed427a571a9e224eed94790664b0612574bef9 (diff) | |
download | mpd-ede70ee3a4c6897f843f118c065da81737e2b74e.tar.gz mpd-ede70ee3a4c6897f843f118c065da81737e2b74e.tar.xz mpd-ede70ee3a4c6897f843f118c065da81737e2b74e.zip |
update_walk: move code to update_song.c
Diffstat (limited to '')
-rw-r--r-- | src/update_song.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/update_song.h b/src/update_song.h new file mode 100644 index 000000000..cff63f576 --- /dev/null +++ b/src/update_song.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2003-2012 The Music Player Daemon Project + * http://www.musicpd.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef MPD_UPDATE_SONG_H +#define MPD_UPDATE_SONG_H + +#include "check.h" + +#include <stdbool.h> +#include <sys/stat.h> + +struct directory; + +bool +update_song_file(struct directory *directory, + const char *name, const char *suffix, + const struct stat *st); + +#endif |