Mercurial > audlegacy
diff src/libid3tag/id3tag.h @ 2563:bdd0ee5888e0 trunk
[svn] - add support for opening id3 tags from a live vfs handle.
Patch by Christian Birchinger (joker).
author | nenolod |
---|---|
date | Sat, 24 Feb 2007 07:41:14 -0800 |
parents | 10692383c103 |
children | 7bf7f83a217e |
line wrap: on
line diff
--- a/src/libid3tag/id3tag.h Sat Feb 24 06:01:39 2007 -0800 +++ b/src/libid3tag/id3tag.h Sat Feb 24 07:41:14 2007 -0800 @@ -29,6 +29,8 @@ extern "C" { # endif +#include <audacious/vfs.h> + # define ID3_TAG_VERSION 0x0400 # define ID3_TAG_VERSION_MAJOR(x) (((x) >> 8) & 0xff) # define ID3_TAG_VERSION_MINOR(x) (((x) >> 0) & 0xff) @@ -245,6 +247,7 @@ }; struct id3_file *id3_file_open(char const *, enum id3_file_mode); +struct id3_file *id3_file_vfsopen(VFSFile *, enum id3_file_mode); struct id3_file *id3_file_fdopen(int, enum id3_file_mode); int id3_file_close(struct id3_file *);