#ifndef _TAG_H_ #define _TAG_H_ #include enum tag_type { TAG_TYPE_ARTIST, TAG_TYPE_ALBUM, TAG_TYPE_TITLE, }; struct tag_field { enum tag_type type; gchar *string; }; struct tag { GSList *fields; }; void tag_list_all(const gchar *path); struct tag *tag_read(const gchar *path); #endif