Extend lc_open() to also being able to load overlay plugins.
commitafc23220049697c29f14d9d6657a109b8c052623
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Sep 2010 16:17:21 +0000 (9 16:17 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Sep 2010 16:17:21 +0000 (9 16:17 +0000)
tree70ace8b78a4d0a44da50d692e893fadd93f85878
parentb5877f8a05b7caccf36ace8f14db17d15c97c950
Extend lc_open() to also being able to load overlay plugins.

For this it needs to look at the plugin header. Since lc_open() doesn't know
it's a plugin, the header needs to be changed slightly to include the new lc_header (which needs to be the first element in plugin_header so it can be casted savely).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28054 a1c6a512-1295-4272-9138-f99709370657
apps/codecs.c
apps/codecs.h
apps/codecs/codec_crt0.c
apps/plugin.c
apps/plugin.h
apps/plugins/lib/overlay.c
firmware/export/load_code.h
firmware/load_code.c
firmware/target/hosted/android/lc-android.c
uisimulator/common/io.c