Mercurial > audlegacy
diff src/audacious/plugin.h @ 3685:0ba593887cae
Export VfsBufferedFile functions.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Mon, 01 Oct 2007 23:39:22 -0500 |
| parents | 2f9d8b987e40 |
| children | 12e11b15b549 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Mon Oct 01 23:32:57 2007 -0500 +++ b/src/audacious/plugin.h Mon Oct 01 23:39:22 2007 -0500 @@ -171,6 +171,11 @@ /* VFS Buffer */ VFSFile *(*vfs_buffer_new)(gpointer data, gsize size); VFSFile *(*vfs_buffer_new_from_string)(gchar *str); + + /* VFS Buffered File */ + VFSFile *(*vfs_buffered_file_new_from_uri)(const gchar *uri); + VFSFile *(*vfs_buffered_file_release_live_fd)(VFSFile *fd); + }; /* Convenience macros for accessing the public API. */ @@ -201,6 +206,8 @@ #define aud_vfs_buffer_new _audvt->vfs_buffer_new #define aud_vfs_buffer_new_from_string _audvt->vfs_buffer_new_from_string +#define aud_vfs_buffered_file_new_from_uri _audvt->vfs_buffered_file_new_from_uri +#define aud_vfs_buffered_file_release_live_fd _audvt->vfs_buffered_file_release_live_fd #define DECLARE_PLUGIN(name, init, fini, ...) \ G_BEGIN_DECLS \
