summaryrefslogtreecommitdiff
path: root/src/tag.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/tag.h
parent099f0e103f7591eef81183292d704b3a77a99018 (diff)
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/tag.h')
-rw-r--r--src/tag.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tag.h b/src/tag.h
index 1b76e7cb4..073c38238 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -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);