11#include "accdvd_internal.h"
13#define MODNAME "CD/DVD_Compatible"
28#define acCdvdEntry _start
31 {&acd_module_restart, &acd_module_start, &acd_module_status, &acd_module_stop},
32 {&cdfs_module_restart, &cdfs_module_start, &cdfs_module_status, &cdfs_module_stop},
33 {&cddrv_module_restart, &cddrv_module_start, &cddrv_module_status, &cddrv_module_stop},
34 {&cdc_module_restart, &cdc_module_start, &cdc_module_status, &cdc_module_stop}};
36int acCdvdModuleRestart(
int argc,
char **argv)
42 for ( index = 0; (
unsigned int)index < 4; ++index )
47 v5 = Cdvd_modules[index].cm_restart(argc, argv);
51 printf(
"accdvd:init_restart:%d: error %d\n", index, v5);
59int acCdvdModuleStart(
int argc,
char **argv)
65 for ( index = 0; (
unsigned int)index < 4; ++index )
70 v5 = Cdvd_modules[index].cm_start(argc, argv);
74 printf(
"accdvd:init_start:%d: error %d\n", index, v5);
82int acCdvdModuleStatus()
89 while ( (
unsigned int)index < 4 )
93 ret = Cdvd_modules[index].cm_status();
96 printf(
"accdvd:init_status:%d: error %d\n", index, ret);
106int acCdvdModuleStop()
116 v2 = Cdvd_modules[index].cm_stop();
120 printf(
"accdvd:init_stop:%d: error %d\n", index, v2);
128int acCdvdEntry(
int argc,
char **argv)
132 ret = acCdvdModuleStart(argc, argv);
136 if ( RegisterLibraryEntries(&_exp_accdvd) != 0 )