# HG changeset patch # User nenolod # Date 1180347160 25200 # Node ID 183d03932c9e5c5666efd20ec60de5972dbeb7bc # Parent 40c1ffbe34d077843940687de1fb20985d491171 [svn] - curl, stdio: convert to plugin2 architecture diff -r 40c1ffbe34d0 -r 183d03932c9e ChangeLog --- 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 + 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 revision [2454] - rootvis: convert to plugin2 architecture diff -r 40c1ffbe34d0 -r 183d03932c9e src/curl/curl.c --- 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); diff -r 40c1ffbe34d0 -r 183d03932c9e src/stdio/stdio.c --- 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);