tag: moved code to tag_print.c

Move everything which dumps a tag to a file descriptor to tag_print.c.
This relaxes dependencies and splits the code into smaller parts.
This commit is contained in:
Max Kellermann
2008-09-07 13:28:01 +02:00
parent f73319c048
commit 386c303121
8 changed files with 105 additions and 29 deletions

View File

@@ -84,10 +84,6 @@ static inline void tag_add_item(struct tag *tag, enum tag_type itemType,
tag_add_item_n(tag, itemType, value, strlen(value));
}
void tag_print_types(int fd);
void tag_print(int fd, const struct tag *tag);
struct tag *tag_dup(const struct tag *tag);
int tag_equal(const struct tag *tag1, const struct tag *tag2);