aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-04-12 04:08:18 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:08:18 +0000
commit3c52652032720a43238717ff3aad1481d80e2b9f (patch)
tree5bf3e5c63bcdf65369af93782048f5681bea0a1b /src/song.h
parent45ebb851f4d0bd136b7c246a6a1b71561a6e5800 (diff)
downloadmpd-3c52652032720a43238717ff3aad1481d80e2b9f.tar.gz
mpd-3c52652032720a43238717ff3aad1481d80e2b9f.tar.xz
mpd-3c52652032720a43238717ff3aad1481d80e2b9f.zip
song: document get_song_url()
[merged r7184 from branches/ew] git-svn-id: https://svn.musicpd.org/mpd/trunk@7242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/song.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/song.h b/src/song.h
index 6f06101bf..8e2de410a 100644
--- a/src/song.h
+++ b/src/song.h
@@ -71,6 +71,12 @@ 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
+ * buffer is assumed to be MPD_PATH_MAX or greater (including
+ * terminating '\0').
+ */
char *get_song_url(char *path_max_tmp, Song * song);
#endif