384de10246
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6104 a1c6a512-1295-4272-9138-f99709370657
42 lines
592 B
C
42 lines
592 B
C
|
|
|
|
#include "rockmacros.h"
|
|
|
|
#include "rc.h"
|
|
|
|
extern rcvar_t emu_exports[], loader_exports[],
|
|
lcd_exports[], rtc_exports[], sound_exports[],
|
|
vid_exports[], joy_exports[], pcm_exports[];
|
|
|
|
|
|
rcvar_t *sources[] =
|
|
{
|
|
emu_exports,
|
|
loader_exports,
|
|
lcd_exports,
|
|
rtc_exports,
|
|
sound_exports,
|
|
vid_exports,
|
|
joy_exports,
|
|
pcm_exports,
|
|
NULL
|
|
};
|
|
|
|
|
|
void init_exports(void)
|
|
{
|
|
rcvar_t **s = sources;
|
|
|
|
while (*s)
|
|
rc_exportvars(*(s++));
|
|
}
|
|
|
|
|
|
void show_exports(void)
|
|
{
|
|
// TODO
|
|
/*int i, j;
|
|
for (i = 0; sources[i]; i++)
|
|
for (j = 0; sources[i][j].name; j++)
|
|
printf("%s\n", sources[i][j].name);*/
|
|
}
|