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
This commit is contained in:
Avuton Olrich
2006-07-20 16:02:40 +00:00
parent 099f0e103f
commit 29a25b9933
92 changed files with 8976 additions and 7978 deletions

View File

@@ -44,28 +44,28 @@
#define TAG_NUM_OF_ITEM_TYPES 11
extern char * mpdTagItemKeys[];
extern char *mpdTagItemKeys[];
typedef struct _MpdTagItem {
mpd_sint8 type;
char * value;
char *value;
} MpdTagItem;
typedef struct _MpdTag {
int time;
MpdTagItem * items;
MpdTagItem *items;
mpd_uint8 numOfItems;
} MpdTag;
#ifdef HAVE_ID3TAG
MpdTag * parseId3Tag(struct id3_tag *);
MpdTag *parseId3Tag(struct id3_tag *);
#endif
MpdTag * apeDup(char * file);
MpdTag *apeDup(char *file);
MpdTag * id3Dup(char * file);
MpdTag *id3Dup(char *file);
MpdTag * newMpdTag();
MpdTag *newMpdTag();
void initTagConfig();
@@ -73,14 +73,14 @@ void clearItemsFromMpdTag(MpdTag * tag, int itemType);
void freeMpdTag(MpdTag * tag);
void addItemToMpdTagWithLen(MpdTag * tag, int itemType, char * value, int len);
void addItemToMpdTagWithLen(MpdTag * tag, int itemType, char *value, int len);
#define addItemToMpdTag(tag, itemType, value) \
addItemToMpdTagWithLen(tag, itemType, value, strlen(value))
void printMpdTag(FILE * fp, MpdTag * tag);
MpdTag * mpdTagDup(MpdTag * tag);
MpdTag *mpdTagDup(MpdTag * tag);
int mpdTagsAreEqual(MpdTag * tag1, MpdTag * tag2);