Mercurial > audlegacy
diff src/audacious/plugin.h @ 3684:2f9d8b987e40
Export VfsBuffer functions.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 01 Oct 2007 23:32:57 -0500 |
parents | 4284187479d7 |
children | 0ba593887cae |
line wrap: on
line diff
--- a/src/audacious/plugin.h Mon Oct 01 23:26:00 2007 -0500 +++ b/src/audacious/plugin.h Mon Oct 01 23:32:57 2007 -0500 @@ -168,6 +168,9 @@ gboolean (*vfs_is_remote)(const gchar * path); gboolean (*vfs_is_streaming)(VFSFile *file); + /* VFS Buffer */ + VFSFile *(*vfs_buffer_new)(gpointer data, gsize size); + VFSFile *(*vfs_buffer_new_from_string)(gchar *str); }; /* Convenience macros for accessing the public API. */ @@ -195,6 +198,10 @@ #define aud_vfs_is_remote _audvt->vfs_is_remote #define aud_vfs_is_streaming _audvt->vfs_is_streaming +#define aud_vfs_buffer_new _audvt->vfs_buffer_new +#define aud_vfs_buffer_new_from_string _audvt->vfs_buffer_new_from_string + + #define DECLARE_PLUGIN(name, init, fini, ...) \ G_BEGIN_DECLS \ static PluginHeader _pluginInfo = { PLUGIN_MAGIC, __AUDACIOUS_PLUGIN_API__, \