Mercurial > audlegacy
changeset 2588:c51a5a735f65 trunk
[svn] - proxy requests for metadata attached to a VFSBufferedFile to the live
FD associated with the VFSBufferedFile.
author | nenolod |
---|---|
date | Tue, 27 Feb 2007 03:49:22 -0800 |
parents | 2ef492ad3904 |
children | ea470384e752 |
files | ChangeLog src/audacious/build_stamp.c src/audacious/vfs_buffered_file.c |
diffstat | 3 files changed, 19 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Feb 27 02:15:51 2007 -0800 +++ b/ChangeLog Tue Feb 27 03:49:22 2007 -0800 @@ -1,3 +1,11 @@ +2007-02-27 10:15:51 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [4184] + - always make sure we are operating on a copy of the ini string + + trunk/src/audacious/widgets/skin.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-02-27 04:11:44 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4182] - update libaudacious gtkdoc configuration
--- a/src/audacious/build_stamp.c Tue Feb 27 02:15:51 2007 -0800 +++ b/src/audacious/build_stamp.c Tue Feb 27 03:49:22 2007 -0800 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070227-4182"; +const gchar *svn_stamp = "20070227-4184";
--- a/src/audacious/vfs_buffered_file.c Tue Feb 27 02:15:51 2007 -0800 +++ b/src/audacious/vfs_buffered_file.c Tue Feb 27 03:49:22 2007 -0800 @@ -154,6 +154,14 @@ return 0; } +gchar * +buffered_file_vfs_metadata_impl(VFSFile * file, const gchar * field) +{ + VFSBufferedFile *handle = (VFSBufferedFile *) file->handle; + + return vfs_get_metadata(handle->fd, field); +} + VFSConstructor buffered_file_const = { NULL, // not a normal VFS class buffered_file_vfs_fopen_impl, @@ -166,7 +174,8 @@ buffered_file_vfs_rewind_impl, buffered_file_vfs_ftell_impl, buffered_file_vfs_feof_impl, - buffered_file_vfs_truncate_impl + buffered_file_vfs_truncate_impl, + buffered_file_vfs_metadata_impl }; VFSFile *