aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-29 09:38:21 +0200
committerEric Wong <normalperson@yhbt.net>2008-09-02 00:13:06 -0700
commit95451b5821da1383f476cd8d6c6c8d12e683b777 (patch)
tree2a6e089fe6d75b739c319e13063a222b51534678 /src/tag.h
parent8ae390f65142ed38a0b5e2474fc6a21866092e84 (diff)
downloadmpd-95451b5821da1383f476cd8d6c6c8d12e683b777.tar.gz
mpd-95451b5821da1383f476cd8d6c6c8d12e683b777.tar.xz
mpd-95451b5821da1383f476cd8d6c6c8d12e683b777.zip
tag: renamed functions, no CamelCase
Diffstat (limited to '')
-rw-r--r--src/tag.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/tag.h b/src/tag.h
index 93a6415e6..3f6df0021 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -57,33 +57,33 @@ struct mpd_tag {
};
#ifdef HAVE_ID3TAG
-struct mpd_tag *parseId3Tag(struct id3_tag *);
+struct mpd_tag *tag_id3_import(struct id3_tag *);
#endif
-struct mpd_tag *apeDup(char *file);
+struct mpd_tag *tag_ape_load(char *file);
-struct mpd_tag *id3Dup(char *file);
+struct mpd_tag *tag_id3_load(char *file);
-struct mpd_tag *newMpdTag(void);
+struct mpd_tag *tag_new(void);
-void initTagConfig(void);
+void tag_lib_init(void);
-void clearItemsFromMpdTag(struct mpd_tag *tag, enum tag_type itemType);
+void tag_clear_items_by_type(struct mpd_tag *tag, enum tag_type itemType);
-void freeMpdTag(struct mpd_tag *tag);
+void tag_free(struct mpd_tag *tag);
-void addItemToMpdTagWithLen(struct mpd_tag *tag, enum tag_type itemType,
+void tag_add_item_n(struct mpd_tag *tag, enum tag_type itemType,
const char *value, size_t len);
-#define addItemToMpdTag(tag, itemType, value) \
- addItemToMpdTagWithLen(tag, itemType, value, strlen(value))
+#define tag_add_item(tag, itemType, value) \
+ tag_add_item_n(tag, itemType, value, strlen(value))
-void printTagTypes(int fd);
+void tag_print_types(int fd);
-void printMpdTag(int fd, struct mpd_tag *tag);
+void tag_print(int fd, struct mpd_tag *tag);
-struct mpd_tag *mpdTagDup(struct mpd_tag *tag);
+struct mpd_tag *tag_dup(struct mpd_tag *tag);
-int mpdTagsAreEqual(struct mpd_tag *tag1, struct mpd_tag *tag2);
+int tag_equal(struct mpd_tag *tag1, struct mpd_tag *tag2);
#endif