2 * Copyright 2007 Johannes Weißl
12 /* 1000 or 2000 (1.0, 2.0) */
15 /* tag size (header + tags, excluding footer) */
21 /* global flags for each tag
22 * there are also private flags for every tag
23 * NOTE: 0 for version 1.0 (1000)
29 #define AF_IS_UTF8(f) (((f) & 6) == 0)
30 #define AF_IS_FOOTER(f) (((f) & (1 << 29)) == 0)
35 struct ape_header header
;
38 #define APETAG(name) struct apetag name = { .buf = NULL, .pos = 0, }
40 extern int ape_read_tags(struct apetag
*ape
, int fd
, int slow
);
41 extern char *ape_get_comment(struct apetag
*ape
, char **val
);
43 static inline void ape_free(struct apetag
*ape
)