25 #ifndef CDIO_DEVICE_H_ 26 #define CDIO_DEVICE_H_ 244 driver_id_t *p_driver_id);
367 driver_id_t *p_driver_id);
392 cdio_drive_read_cap_t *p_read_cap,
393 cdio_drive_write_cap_t *p_write_cap,
394 cdio_drive_misc_cap_t *p_misc_cap);
406 cdio_drive_read_cap_t *p_read_cap,
407 cdio_drive_write_cap_t *p_write_cap,
408 cdio_drive_misc_cap_t *p_misc_cap);
453 lsn_t *i_last_session);
512 driver_id_t driver_id,
const char *psz_access_mode);
529 const char *psz_access_mode);
544 const char *psz_access_mode);
582 const char *psz_access_mode);
602 const char *psz_access_mode);
655 const char *psz_access_mode);
692 const char *access_mode);
732 const char *psz_access_mode);
778 const char *psz_access_mode);
814 const char *psz_access_mode);
846 const char *psz_access_mode);
905 bool cdio_is_device(
const char *psz_source, driver_id_t driver_id);
CdIo_t * cdio_open_am_nrg(const char *psz_source, const char *psz_access_mode)
const char * cdio_get_driver_name_from_id(driver_id_t driver_id)
CdIo_t * cdio_open_osx(const char *psz_source)
CdIo_t * cdio_open_am_linux(const char *psz_source, const char *access_mode)
cdio_drive_cap_read_t
Definition: device.h:67
char ** cdio_get_devices_linux(void)
Common type definitions used pervasively in libcdio.
const driver_id_t cdio_os_driver
CdIo_t * cdio_open_am_cd(const char *psz_device, const char *psz_access_mode)
int cdio_fs_anal_t
Definition: types.h:322
char * cdio_get_default_device_solaris(void)
cdio_drive_cap_read_t debug_cdio_drive_cap_read_t
driver_return_code_t
Definition: device.h:205
CdIo_t * cdio_open_cd(const char *device_name)
CdIo_t * cdio_open_linux(const char *psz_source)
char * cdio_get_default_device_nrg(void)
int32_t lsn_t
Definition: types.h:266
char * cdio_get_default_device_cdrdao(void)
char * cdio_get_default_device_bincue(void)
driver_return_code_t cdio_eject_media(CdIo_t **p_cdio)
char * cdio_get_default_device_aix(void)
CdIo_t * cdio_open_am_solaris(const char *psz_source, const char *psz_access_mode)
uint32_t cdio_drive_write_cap_t
Definition: device.h:37
CdIo_t * cdio_open_bincue(const char *psz_cue_name)
char psz_revision[CDIO_MMC_HW_REVISION_LEN+1]
Definition: device.h:126
char * cdio_is_binfile(const char *bin_name)
uint32_t cdio_drive_read_cap_t
Definition: device.h:36
CdIo_t * cdio_open_cue(const char *cue_name)
driver_return_code_t cdio_set_speed(const CdIo_t *p_cdio, int i_drive_speed)
struct cdio_hwinfo cdio_hwinfo_t
Structure to return CD vendor, model, and revision-level strings obtained via the INQUIRY command...
CdIo_t * cdio_open(const char *psz_source, driver_id_t driver_id)
int cdio_get_media_changed(CdIo_t *p_cdio)
driver_return_code_t cdio_set_arg(CdIo_t *p_cdio, const char key[], const char value[])
cdio_drive_cap_misc_t
Drive capability bits returned by cdio_get_drive_cap() NOTE: Setting a bit here means the presence of...
Definition: device.h:46
void cdio_get_drive_cap(const CdIo_t *p_cdio, cdio_drive_read_cap_t *p_read_cap, cdio_drive_write_cap_t *p_write_cap, cdio_drive_misc_cap_t *p_misc_cap)
char * cdio_is_cuefile(const char *cue_name)
bool cdio_have_driver(driver_id_t driver_id)
void cdio_destroy(CdIo_t *p_cdio)
bool cdio_is_tocfile(const char *psz_toc)
bool cdio_get_hwinfo(const CdIo_t *p_cdio, cdio_hwinfo_t *p_hw_info)
const driver_id_t cdio_drivers[]
cdio_src_category_mask_t debug_cdio_src_category_mask
void cdio_free_device_list(char *device_list[])
driver_return_code_t cdio_get_last_session(CdIo_t *p_cdio, lsn_t *i_last_session)
char * cdio_get_default_device(const CdIo_t *p_cdio)
char ** cdio_get_devices_solaris(void)
cdio_mmc_hw_len_t
Definition: device.h:113
bool cdio_is_device(const char *psz_source, driver_id_t driver_id)
CdIo_t * cdio_open_am_bincue(const char *psz_cue_name, const char *psz_access_mode)
bool cdio_is_nrg(const char *psz_nrg)
cdio_src_category_mask_t
Definition: device.h:131
const char * cdio_driver_describe(driver_id_t driver_id)
bool_3way_t cdio_have_atapi(CdIo_t *p_cdio)
const char * cdio_get_arg(const CdIo_t *p_cdio, const char key[])
char ** cdio_get_devices(driver_id_t driver_id)
char ** cdio_get_devices_cdrdao(void)
The top-level header for libcdio: the CD Input and Control library. Applications include this for any...
char ** cdio_get_devices_bincue(void)
char ** cdio_get_devices_osx(void)
CdIo_t * cdio_open_am_win32(const char *psz_source, const char *psz_access_mode)
const driver_id_t cdio_device_drivers[]
driver_id_t
Definition: device.h:151
CdIo_t * cdio_open_nrg(const char *psz_source)
char ** cdio_get_devices_win32(void)
Structure to return CD vendor, model, and revision-level strings obtained via the INQUIRY command...
Definition: device.h:122
CdIo_t * cdio_open_win32(const char *psz_source)
struct _CdIo CdIo_t
Definition: cdio.h:47
CdIo_t * cdio_open_am_freebsd(const char *psz_source, const char *psz_access_mode)
CdIo_t * cdio_open_aix(const char *psz_source)
char * cdio_get_default_device_driver(driver_id_t *p_driver_id)
CdIo_t * cdio_open_am(const char *psz_source, driver_id_t driver_id, const char *psz_access_mode)
CdIo_t * cdio_open_solaris(const char *psz_source)
char * cdio_get_default_device_linux(void)
char psz_model[CDIO_MMC_HW_MODEL_LEN+1]
Definition: device.h:125
CdIo_t * cdio_open_am_osx(const char *psz_source, const char *psz_access_mode)
bool_3way_t
Definition: types.h:236
CdIo_t * cdio_open_freebsd(const char *paz_psz_source)
const char * cdio_get_driver_name(const CdIo_t *p_cdio)
char ** cdio_get_devices_freebsd(void)
char ** cdio_get_devices_nrg(void)
CdIo_t * cdio_open_am_aix(const char *psz_source, const char *psz_access_mode)
char ** cdio_get_devices_aix(void)
cdio_drive_cap_write_t
Definition: device.h:87
void cdio_get_drive_cap_dev(const char *device, cdio_drive_read_cap_t *p_read_cap, cdio_drive_write_cap_t *p_write_cap, cdio_drive_misc_cap_t *p_misc_cap)
char * cdio_get_default_device_win32(void)
driver_return_code_t cdio_close_tray(const char *psz_drive, driver_id_t *p_driver_id)
cdio_drive_cap_misc_t debug_cdio_drive_cap_misc
char ** cdio_get_devices_ret(driver_id_t *p_driver_id)
char psz_vendor[CDIO_MMC_HW_VENDOR_LEN+1]
Definition: device.h:124
driver_return_code_t cdio_eject_media_drive(const char *psz_drive)
driver_id_t cdio_get_driver_id(const CdIo_t *p_cdio)
uint32_t cdio_drive_misc_cap_t
Definition: device.h:38
CdIo_t * cdio_open_cdrdao(const char *psz_toc_name)
driver_return_code_t cdio_set_blocksize(const CdIo_t *p_cdio, int i_blocksize)
char ** cdio_get_devices_with_cap_ret(char *ppsz_search_devices[], cdio_fs_anal_t capabilities, bool b_any, driver_id_t *p_driver_id)
const char * cdio_driver_errmsg(driver_return_code_t drc)
char ** cdio_get_devices_with_cap(char *ppsz_search_devices[], cdio_fs_anal_t capabilities, bool b_any)
char * cdio_get_default_device_freebsd(void)
cdio_mmc_hw_len_t debug_cdio_mmc_hw_len
CdIo_t * cdio_open_am_cdrdao(const char *psz_toc_name, const char *psz_access_mode)
cdio_drive_cap_write_t debug_drive_cap_write_t
char * cdio_get_default_device_osx(void)