From 29a25b9933b32800f58dd73d5d1fc21993071c92 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Thu, 20 Jul 2006 16:02:40 +0000 Subject: 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 --- src/directory.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'src/directory.h') diff --git a/src/directory.h b/src/directory.h index 361e265a..e4b7ee25 100644 --- a/src/directory.h +++ b/src/directory.h @@ -32,11 +32,11 @@ typedef struct _DirectoryStat { } DirectoryStat; typedef struct _Directory { - char * path; - DirectoryList * subDirectories; - SongList * songs; - struct _Directory * parent; - DirectoryStat * stat; + char *path; + DirectoryList *subDirectories; + SongList *songs; + struct _Directory *parent; + DirectoryStat *stat; } Directory; void readDirectoryDBIfUpdateIsFinished(); @@ -51,7 +51,7 @@ void initMp3Directory(); void closeMp3Directory(); -int printDirectoryInfo(FILE * fp, char * dirname); +int printDirectoryInfo(FILE * fp, char *dirname); int checkDirectoryDB(); @@ -61,14 +61,13 @@ int readDirectoryDB(); void updateMp3Directory(); -Song * getSongFromDB(char * file); +Song *getSongFromDB(char *file); time_t getDbModTime(); -int traverseAllIn(FILE * fp, char * name, - int (*forEachSong)(FILE *, Song *, void *), - int (*forEachDir)(FILE *, Directory *, void *), - void * data); +int traverseAllIn(FILE * fp, char *name, + int (*forEachSong) (FILE *, Song *, void *), + int (*forEachDir) (FILE *, Directory *, void *), void *data); #define getDirectoryPath(dir) ((dir && dir->path) ? dir->path : "") -- cgit v1.2.3