diff options
Diffstat (limited to 'src/song.h')
-rw-r--r-- | src/song.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/song.h b/src/song.h index 45f9e7923..81e5b5504 100644 --- a/src/song.h +++ b/src/song.h @@ -45,7 +45,7 @@ typedef List SongList; Song * newNullSong(); -Song * newSong(char * utf8url, int songType, struct _Directory * parentDir); +Song * newSong(char * url, int songType, struct _Directory * parentDir); void freeSong(Song *); @@ -55,7 +55,7 @@ SongList * newSongList(); void freeSongList(SongList * list); -Song * addSongToList(SongList * list, char * key, char * utf8file, +Song * addSongToList(SongList * list, char * url, char * utf8path, int songType, struct _Directory * parentDir); int printSongInfo(FILE * fp, Song * song); @@ -64,7 +64,8 @@ int printSongInfoFromList(FILE * fp, SongList * list); void writeSongInfoFromList(FILE * fp, SongList * list); -void readSongInfoIntoList(FILE * fp, SongList * list); +void readSongInfoIntoList(FILE * fp, SongList * list, + struct _Directory * parent); int updateSongInfo(Song * song); @@ -72,4 +73,6 @@ Song * songDup(Song * song); void printSongUrl(FILE * fp, Song * song); +char * getSongUrl(Song * song); + #endif |