aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/song.h')
-rw-r--r--src/song.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/song.h b/src/song.h
index 0f271aa83..0ea3ec72b 100644
--- a/src/song.h
+++ b/src/song.h
@@ -42,6 +42,8 @@ typedef struct _Song {
typedef List SongList;
+Song *newNullSong(void);
+
Song *newSong(const char *url, int songType, struct _Directory *parentDir);
void freeSong(Song *);
@@ -55,19 +57,8 @@ void freeSongList(SongList * list);
Song *addSongToList(SongList * list, const char *url, const char *utf8path,
int songType, struct _Directory *parentDir);
-int printSongInfo(int fd, Song * song);
-
-int printSongInfoFromList(int fd, SongList * list);
-
-void writeSongInfoFromList(FILE * fp, SongList * list);
-
-void readSongInfoIntoList(FILE * fp, SongList * list,
- struct _Directory *parent);
-
int updateSongInfo(Song * song);
-void printSongUrl(int fd, Song * song);
-
/*
* get_song_url - Returns a path of a song in UTF8-encoded form
* path_max_tmp is the argument that the URL is written to, this