Mercurial > audlegacy-plugins
changeset 1146:183d03932c9e trunk
[svn] - curl, stdio: convert to plugin2 architecture
author | nenolod |
---|---|
date | Mon, 28 May 2007 03:12:40 -0700 |
parents | 40c1ffbe34d0 |
children | a4f8f966b275 |
files | ChangeLog src/curl/curl.c src/stdio/stdio.c |
diffstat | 3 files changed, 12 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon May 28 03:11:15 2007 -0700 +++ b/ChangeLog Mon May 28 03:12:40 2007 -0700 @@ -1,3 +1,13 @@ +2007-05-28 10:11:15 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2456] + - xspf, m3u, pls: convert to plugin2 architecture + + trunk/src/m3u/m3u.c | 13 +------------ + trunk/src/pls/pls.c | 13 +------------ + trunk/src/xspf/xspf.c | 13 +------------ + 3 files changed, 3 insertions(+), 36 deletions(-) + + 2007-05-28 10:05:08 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2454] - rootvis: convert to plugin2 architecture
--- a/src/curl/curl.c Mon May 28 03:11:15 2007 -0700 +++ b/src/curl/curl.c Mon May 28 03:12:40 2007 -0700 @@ -108,7 +108,6 @@ gint curl_vfs_fseek_impl(VFSFile * file, glong offset, gint whence); VFSFile *curl_vfs_fopen_impl(const gchar * path, const gchar * mode); -LowlevelPlugin *get_lplugin_info(void); VFSConstructor curl_const; @@ -1033,15 +1032,4 @@ #endif } -LowlevelPlugin llp_curl = { - NULL, - NULL, - "http:// URI Transport", - init, - cleanup, -}; - -LowlevelPlugin *get_lplugin_info(void) -{ - return &llp_curl; -} +DECLARE_PLUGIN(curl, init, cleanup, NULL, NULL, NULL, NULL, NULL);
--- a/src/stdio/stdio.c Mon May 28 03:11:15 2007 -0700 +++ b/src/stdio/stdio.c Mon May 28 03:12:40 2007 -0700 @@ -293,16 +293,4 @@ #endif } -LowlevelPlugin llp_stdio = { - NULL, - NULL, - "file:// URI Transport", - init, - cleanup, -}; - -LowlevelPlugin *get_lplugin_info(void) -{ - return &llp_stdio; -} - +DECLARE_PLUGIN(stdio, init, cleanup, NULL, NULL, NULL, NULL, NULL);