tag: converted tag_item.value to a char array

The value is stored in the same memory allocation as the tag_item
struct; this saves memory because we do not store the value pointer
anymore.  Also remove the getTagItemString()/removeTagItemString()
dummies.
This commit is contained in:
Max Kellermann
2008-08-29 09:38:33 +02:00
parent b731bbe93a
commit e5a7879892
4 changed files with 5 additions and 20 deletions

View File

@@ -41,8 +41,8 @@ extern const char *mpdTagItemKeys[];
struct tag_item {
enum tag_type type;
char *value;
};
char value[1];
} mpd_unused;
struct tag {
int time;