Add new cdio_drivers and cdio_device_drivers arrays.
This commit is contained in:
committed by
Nicolas Boullis
parent
b4e36da3e2
commit
70dad66457
@@ -171,6 +171,15 @@ extern "C" {
|
|||||||
DRIVER_DEVICE /**< Is really a set of the above; should come last */
|
DRIVER_DEVICE /**< Is really a set of the above; should come last */
|
||||||
} driver_id_t;
|
} driver_id_t;
|
||||||
|
|
||||||
|
/** A null-terminated (that is DRIVER_UNKNOWN-terminated) ordered (in
|
||||||
|
order of preference) array of drivers.
|
||||||
|
*/
|
||||||
|
extern const driver_id_t cdio_drivers[];
|
||||||
|
/** A null-terminated (that is DRIVER_UNKNOWN-terminated) ordered (in
|
||||||
|
order of preference) array of device drivers.
|
||||||
|
*/
|
||||||
|
extern const driver_id_t cdio_device_drivers[];
|
||||||
|
|
||||||
/** There will generally be only one hardware for a given
|
/** There will generally be only one hardware for a given
|
||||||
build/platform from the list above. You can use the variable
|
build/platform from the list above. You can use the variable
|
||||||
below to determine which you've got. If the build doesn't make an
|
below to determine which you've got. If the build doesn't make an
|
||||||
|
|||||||
@@ -270,6 +270,35 @@ CdIo_driver_t CdIo_all_drivers[CDIO_MAX_DRIVER+1] = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const driver_id_t cdio_drivers[] = {
|
||||||
|
DRIVER_AIX,
|
||||||
|
DRIVER_BSDI,
|
||||||
|
DRIVER_FREEBSD,
|
||||||
|
DRIVER_NETBSD,
|
||||||
|
DRIVER_LINUX,
|
||||||
|
DRIVER_SOLARIS,
|
||||||
|
DRIVER_OS2,
|
||||||
|
DRIVER_OSX,
|
||||||
|
DRIVER_WIN32,
|
||||||
|
DRIVER_CDRDAO,
|
||||||
|
DRIVER_BINCUE,
|
||||||
|
DRIVER_NRG,
|
||||||
|
DRIVER_UNKNOWN
|
||||||
|
};
|
||||||
|
|
||||||
|
const driver_id_t cdio_device_drivers[] = {
|
||||||
|
DRIVER_AIX,
|
||||||
|
DRIVER_BSDI,
|
||||||
|
DRIVER_FREEBSD,
|
||||||
|
DRIVER_NETBSD,
|
||||||
|
DRIVER_LINUX,
|
||||||
|
DRIVER_SOLARIS,
|
||||||
|
DRIVER_OS2,
|
||||||
|
DRIVER_OSX,
|
||||||
|
DRIVER_WIN32,
|
||||||
|
DRIVER_UNKNOWN
|
||||||
|
};
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
cdio_driver_errmsg(driver_return_code_t drc)
|
cdio_driver_errmsg(driver_return_code_t drc)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user