aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-20 16:02:40 +0000
commit29a25b9933b32800f58dd73d5d1fc21993071c92 (patch)
tree4f456a6f8e44d42acc289c35534ea3e59c0aa96f /src/song.h
parent099f0e103f7591eef81183292d704b3a77a99018 (diff)
downloadmpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.gz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.tar.xz
mpd-29a25b9933b32800f58dd73d5d1fc21993071c92.zip
Add mpd-indent.sh
Indent the entire tree, hopefully we can keep it indented. git-svn-id: https://svn.musicpd.org/mpd/trunk@4410 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/song.h')
-rw-r--r--src/song.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/song.h b/src/song.h
index 36e3748b5..104ad1686 100644
--- a/src/song.h
+++ b/src/song.h
@@ -34,29 +34,29 @@
#define SONG_TYPE_URL 2
typedef struct _Song {
- char * url;
+ char *url;
mpd_sint8 type;
- MpdTag * tag;
- struct _Directory * parentDir;
+ MpdTag *tag;
+ struct _Directory *parentDir;
time_t mtime;
} Song;
typedef List SongList;
-Song * newNullSong();
+Song *newNullSong();
-Song * newSong(char * url, int songType, struct _Directory * parentDir);
+Song *newSong(char *url, int songType, struct _Directory *parentDir);
void freeSong(Song *);
void freeJustSong(Song *);
-SongList * newSongList();
+SongList *newSongList();
void freeSongList(SongList * list);
-Song * addSongToList(SongList * list, char * url, char * utf8path,
- int songType, struct _Directory * parentDir);
+Song *addSongToList(SongList * list, char *url, char *utf8path,
+ int songType, struct _Directory *parentDir);
int printSongInfo(FILE * fp, Song * song);
@@ -64,13 +64,13 @@ int printSongInfoFromList(FILE * fp, SongList * list);
void writeSongInfoFromList(FILE * fp, SongList * list);
-void readSongInfoIntoList(FILE * fp, SongList * list,
- struct _Directory * parent);
+void readSongInfoIntoList(FILE * fp, SongList * list,
+ struct _Directory *parent);
int updateSongInfo(Song * song);
void printSongUrl(FILE * fp, Song * song);
-char * getSongUrl(Song * song);
+char *getSongUrl(Song * song);
#endif