Add Cdio_t, move some more stuff into track.h
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_aix.c,v 1.1 2004/12/18 17:29:32 rocky Exp $
|
||||
$Id: _cdio_aix.c,v 1.2 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#ifdef HAVE_AIX_CDROM
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_aix.c,v 1.1 2004/12/18 17:29:32 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_aix.c,v 1.2 2005/01/02 22:43:41 rocky Exp $";
|
||||
|
||||
#ifdef HAVE_GLOB_H
|
||||
#include <glob.h>
|
||||
@@ -920,7 +920,7 @@ cdio_get_devices_aix (void)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_aix (const char *psz_source_name)
|
||||
{
|
||||
return cdio_open_am_aix(psz_source_name, NULL);
|
||||
@@ -931,12 +931,12 @@ cdio_open_aix (const char *psz_source_name)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_am_aix (const char *psz_orig_source, const char *access_mode)
|
||||
{
|
||||
|
||||
#ifdef HAVE_AIX_CDROM
|
||||
CdIo *ret;
|
||||
CdIo_t *ret;
|
||||
_img_private_t *_data;
|
||||
char *psz_source;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_bsdi.c,v 1.1 2004/12/18 17:29:32 rocky Exp $
|
||||
$Id: _cdio_bsdi.c,v 1.2 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -27,7 +27,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_bsdi.c,v 1.1 2004/12/18 17:29:32 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_bsdi.c,v 1.2 2005/01/02 22:43:41 rocky Exp $";
|
||||
|
||||
#include <cdio/logging.h>
|
||||
#include <cdio/sector.h>
|
||||
@@ -740,7 +740,7 @@ cdio_get_default_device_bsdi(void)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_am_bsdi (const char *psz_source_name, const char *psz_access_mode)
|
||||
{
|
||||
if (psz_access_mode != NULL)
|
||||
@@ -755,12 +755,12 @@ cdio_open_am_bsdi (const char *psz_source_name, const char *psz_access_mode)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_bsdi (const char *psz_orig_source)
|
||||
{
|
||||
|
||||
#ifdef HAVE_BSDI_CDROM
|
||||
CdIo *ret;
|
||||
CdIo_t *ret;
|
||||
_img_private_t *_data;
|
||||
char *psz_source;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_generic.c,v 1.4 2005/01/01 15:08:48 rocky Exp $
|
||||
$Id: _cdio_generic.c,v 1.5 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_generic.c,v 1.4 2005/01/01 15:08:48 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_generic.c,v 1.5 2005/01/02 22:43:41 rocky Exp $";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -234,7 +234,7 @@ cdio_add_device_list(char **device_list[], const char *drive,
|
||||
|
||||
|
||||
/*!
|
||||
Get cdtext information for a CdIo object .
|
||||
Get cdtext information for a CdIo_t object .
|
||||
|
||||
@param obj the CD object that may contain CD-TEXT information.
|
||||
@return the CD-TEXT object or NULL if obj is NULL
|
||||
@@ -410,7 +410,7 @@ set_cdtext_field_generic(void *user_data, track_t i_track,
|
||||
}
|
||||
|
||||
/*!
|
||||
Read CD-Text information for a CdIo object .
|
||||
Read CD-Text information for a CdIo_t object .
|
||||
|
||||
return true on success, false on error or CD-TEXT information does
|
||||
not exist.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: _cdio_linux.c,v 1.5 2005/01/01 15:08:48 rocky Exp $
|
||||
$Id: _cdio_linux.c,v 1.6 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
Copyright (C) 2002, 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
@@ -27,7 +27,7 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.5 2005/01/01 15:08:48 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: _cdio_linux.c,v 1.6 2005/01/02 22:43:41 rocky Exp $";
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -1104,7 +1104,7 @@ cdio_get_default_device_linux(void)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_linux (const char *psz_source_name)
|
||||
{
|
||||
return cdio_open_am_linux(psz_source_name, NULL);
|
||||
@@ -1115,12 +1115,12 @@ cdio_open_linux (const char *psz_source_name)
|
||||
get called via a function pointer. In fact *we* are the
|
||||
ones to set that up.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_am_linux (const char *psz_orig_source, const char *access_mode)
|
||||
{
|
||||
|
||||
#ifdef HAVE_LINUX_CDROM
|
||||
CdIo *ret;
|
||||
CdIo_t *ret;
|
||||
_img_private_t *_data;
|
||||
char *psz_source;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cd_types.c,v 1.1 2004/12/18 17:29:32 rocky Exp $
|
||||
$Id: cd_types.c,v 1.2 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -221,7 +221,7 @@ _cdio_get_joliet_level( void )
|
||||
is returned in cdio_analysis and the return value.
|
||||
*/
|
||||
cdio_fs_anal_t
|
||||
cdio_guess_cd_type(const CdIo *cdio, int start_session, track_t i_track,
|
||||
cdio_guess_cd_type(const CdIo_t *cdio, int start_session, track_t i_track,
|
||||
/*out*/ cdio_iso_analysis_t *iso_analysis)
|
||||
{
|
||||
int ret = CDIO_FS_UNKNOWN;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdio.c,v 1.3 2004/12/31 05:47:36 rocky Exp $
|
||||
$Id: cdio.c,v 1.4 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2003, 2004 Rocky Bernstein <rocky@panix.com>
|
||||
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <cdio/logging.h>
|
||||
#include "cdio_private.h"
|
||||
|
||||
static const char _rcsid[] = "$Id: cdio.c,v 1.3 2004/12/31 05:47:36 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: cdio.c,v 1.4 2005/01/02 22:43:41 rocky Exp $";
|
||||
|
||||
|
||||
const char *track_format2str[6] =
|
||||
@@ -861,10 +861,10 @@ cdio_init(void)
|
||||
return true;
|
||||
}
|
||||
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_new (generic_img_private_t *p_env, cdio_funcs *p_funcs)
|
||||
{
|
||||
CdIo *p_new_cdio = _cdio_malloc (sizeof (CdIo));
|
||||
CdIo_t *p_new_cdio = _cdio_malloc (sizeof (CdIo_t));
|
||||
|
||||
if (NULL == p_new_cdio) return NULL;
|
||||
|
||||
@@ -881,7 +881,7 @@ cdio_new (generic_img_private_t *p_env, cdio_funcs *p_funcs)
|
||||
Free any resources associated with cdio.
|
||||
*/
|
||||
void
|
||||
cdio_destroy (CdIo *cdio)
|
||||
cdio_destroy (CdIo_t *cdio)
|
||||
{
|
||||
CdIo_last_driver = CDIO_DRIVER_UNINIT;
|
||||
if (cdio == NULL) return;
|
||||
@@ -897,7 +897,7 @@ cdio_destroy (CdIo *cdio)
|
||||
Similar to (if not the same as) libc's lseek()
|
||||
*/
|
||||
off_t
|
||||
cdio_lseek (const CdIo *cdio, off_t offset, int whence)
|
||||
cdio_lseek (const CdIo_t *cdio, off_t offset, int whence)
|
||||
{
|
||||
if (cdio == NULL) return -1;
|
||||
|
||||
@@ -912,7 +912,7 @@ cdio_lseek (const CdIo *cdio, off_t offset, int whence)
|
||||
Similar to (if not the same as) libc's read()
|
||||
*/
|
||||
ssize_t
|
||||
cdio_read (const CdIo *p_cdio, void *buf, size_t size)
|
||||
cdio_read (const CdIo_t *p_cdio, void *buf, size_t size)
|
||||
{
|
||||
if (p_cdio == NULL) return -1;
|
||||
|
||||
@@ -926,7 +926,7 @@ cdio_read (const CdIo *p_cdio, void *buf, size_t size)
|
||||
from lsn. Returns 0 if no error.
|
||||
*/
|
||||
int
|
||||
cdio_read_audio_sector (const CdIo *p_cdio, void *buf, lsn_t lsn)
|
||||
cdio_read_audio_sector (const CdIo_t *p_cdio, void *buf, lsn_t lsn)
|
||||
{
|
||||
|
||||
if (NULL == p_cdio || NULL == buf || CDIO_INVALID_LSN == lsn )
|
||||
@@ -942,7 +942,7 @@ cdio_read_audio_sector (const CdIo *p_cdio, void *buf, lsn_t lsn)
|
||||
from lsn. Returns 0 if no error.
|
||||
*/
|
||||
int
|
||||
cdio_read_audio_sectors (const CdIo *p_cdio, void *buf, lsn_t lsn,
|
||||
cdio_read_audio_sectors (const CdIo_t *p_cdio, void *buf, lsn_t lsn,
|
||||
unsigned int nblocks)
|
||||
{
|
||||
if ( NULL == p_cdio || NULL == buf || CDIO_INVALID_LSN == lsn )
|
||||
@@ -962,7 +962,7 @@ cdio_read_audio_sectors (const CdIo *p_cdio, void *buf, lsn_t lsn,
|
||||
into data starting from lsn. Returns 0 if no error.
|
||||
*/
|
||||
int
|
||||
cdio_read_mode1_sector (const CdIo *p_cdio, void *data, lsn_t lsn,
|
||||
cdio_read_mode1_sector (const CdIo_t *p_cdio, void *data, lsn_t lsn,
|
||||
bool b_form2)
|
||||
{
|
||||
uint32_t size = b_form2 ? M2RAW_SECTOR_SIZE : CDIO_CD_FRAMESIZE ;
|
||||
@@ -987,7 +987,7 @@ cdio_read_mode1_sector (const CdIo *p_cdio, void *data, lsn_t lsn,
|
||||
}
|
||||
|
||||
int
|
||||
cdio_read_mode1_sectors (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
cdio_read_mode1_sectors (const CdIo_t *cdio, void *buf, lsn_t lsn,
|
||||
bool b_form2, unsigned int num_sectors)
|
||||
{
|
||||
|
||||
@@ -1005,7 +1005,7 @@ cdio_read_mode1_sectors (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
from lsn. Returns 0 if no error.
|
||||
*/
|
||||
int
|
||||
cdio_read_mode2_sector (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
cdio_read_mode2_sector (const CdIo_t *cdio, void *buf, lsn_t lsn,
|
||||
bool b_form2)
|
||||
{
|
||||
if (NULL == cdio || NULL == buf || CDIO_INVALID_LSN == lsn )
|
||||
@@ -1024,7 +1024,7 @@ cdio_read_mode2_sector (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
}
|
||||
|
||||
int
|
||||
cdio_read_mode2_sectors (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
cdio_read_mode2_sectors (const CdIo_t *cdio, void *buf, lsn_t lsn,
|
||||
bool b_form2, unsigned int num_sectors)
|
||||
{
|
||||
|
||||
@@ -1038,7 +1038,7 @@ cdio_read_mode2_sectors (const CdIo *cdio, void *buf, lsn_t lsn,
|
||||
}
|
||||
|
||||
uint32_t
|
||||
cdio_stat_size (const CdIo *cdio)
|
||||
cdio_stat_size (const CdIo_t *cdio)
|
||||
{
|
||||
cdio_assert (cdio != NULL);
|
||||
|
||||
@@ -1049,7 +1049,7 @@ cdio_stat_size (const CdIo *cdio)
|
||||
Set the arg "key" with "value" in the source device.
|
||||
*/
|
||||
int
|
||||
cdio_set_arg (CdIo *cdio, const char key[], const char value[])
|
||||
cdio_set_arg (CdIo_t *cdio, const char key[], const char value[])
|
||||
{
|
||||
cdio_assert (cdio != NULL);
|
||||
cdio_assert (cdio->op.set_arg != NULL);
|
||||
@@ -1065,7 +1065,7 @@ cdio_set_arg (CdIo *cdio, const char key[], const char value[])
|
||||
|
||||
NULL is returned on error.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open (const char *orig_source_name, driver_id_t driver_id)
|
||||
{
|
||||
return cdio_open_am(orig_source_name, driver_id, NULL);
|
||||
@@ -1078,7 +1078,7 @@ cdio_open (const char *orig_source_name, driver_id_t driver_id)
|
||||
|
||||
NULL is returned on error.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_am (const char *psz_orig_source, driver_id_t driver_id,
|
||||
const char *psz_access_mode)
|
||||
{
|
||||
@@ -1094,7 +1094,7 @@ cdio_open_am (const char *psz_orig_source, driver_id_t driver_id,
|
||||
switch (driver_id) {
|
||||
case DRIVER_UNKNOWN:
|
||||
{
|
||||
CdIo *cdio=scan_for_driver(CDIO_MIN_DRIVER, CDIO_MAX_DRIVER,
|
||||
CdIo_t *cdio=scan_for_driver(CDIO_MIN_DRIVER, CDIO_MAX_DRIVER,
|
||||
psz_source, psz_access_mode);
|
||||
free(psz_source);
|
||||
return cdio;
|
||||
@@ -1102,7 +1102,7 @@ cdio_open_am (const char *psz_orig_source, driver_id_t driver_id,
|
||||
case DRIVER_DEVICE:
|
||||
{
|
||||
/* Scan for a driver. */
|
||||
CdIo *ret = cdio_open_am_cd(psz_source, psz_access_mode);
|
||||
CdIo_t *ret = cdio_open_am_cd(psz_source, psz_access_mode);
|
||||
free(psz_source);
|
||||
return ret;
|
||||
}
|
||||
@@ -1118,7 +1118,7 @@ cdio_open_am (const char *psz_orig_source, driver_id_t driver_id,
|
||||
case DRIVER_BINCUE:
|
||||
case DRIVER_CDRDAO:
|
||||
if ((*CdIo_all_drivers[driver_id].have_driver)()) {
|
||||
CdIo *ret =
|
||||
CdIo_t *ret =
|
||||
(*CdIo_all_drivers[driver_id].driver_open_am)(psz_source,
|
||||
psz_access_mode);
|
||||
if (ret) ret->driver_id = driver_id;
|
||||
@@ -1139,7 +1139,7 @@ cdio_open_am (const char *psz_orig_source, driver_id_t driver_id,
|
||||
@return the cdio object for subsequent operations.
|
||||
NULL on error or there is no driver for a some sort of hardware CD-ROM.
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_cd (const char *psz_source)
|
||||
{
|
||||
return cdio_open_am_cd(psz_source, NULL);
|
||||
@@ -1160,7 +1160,7 @@ cdio_open_cd (const char *psz_source)
|
||||
|
||||
For now though, we'll start more simply...
|
||||
*/
|
||||
CdIo *
|
||||
CdIo_t *
|
||||
cdio_open_am_cd (const char *psz_source, const char *psz_access_mode)
|
||||
{
|
||||
if (CdIo_last_driver == -1) cdio_init();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Common SCSI Multimedia Command (MMC) routines.
|
||||
|
||||
$Id: scsi_mmc.c,v 1.1 2004/12/18 17:29:32 rocky Exp $
|
||||
$Id: scsi_mmc.c,v 1.2 2005/01/02 22:43:41 rocky Exp $
|
||||
|
||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
especially tables 72, 73 and 75.
|
||||
*/
|
||||
discmode_t
|
||||
scsi_mmc_get_discmode( const CdIo *p_cdio )
|
||||
scsi_mmc_get_discmode( const CdIo_t *p_cdio )
|
||||
|
||||
{
|
||||
uint8_t buf[14] = { 0, };
|
||||
@@ -142,7 +142,7 @@ scsi_mmc_get_cmd_len(uint8_t scsi_cmd)
|
||||
We return 0 if command completed successfully and 1 if not.
|
||||
*/
|
||||
int
|
||||
scsi_mmc_run_cmd( const CdIo *p_cdio, unsigned int i_timeout_ms,
|
||||
scsi_mmc_run_cmd( const CdIo_t *p_cdio, unsigned int i_timeout_ms,
|
||||
const scsi_mmc_cdb_t *p_cdb,
|
||||
scsi_mmc_direction_t e_direction, unsigned int i_buf,
|
||||
/*in/out*/ void *p_buf )
|
||||
@@ -201,7 +201,7 @@ scsi_mmc_get_blocksize_private ( const void *p_env,
|
||||
}
|
||||
|
||||
int
|
||||
scsi_mmc_get_blocksize ( const CdIo *p_cdio)
|
||||
scsi_mmc_get_blocksize ( const CdIo_t *p_cdio)
|
||||
{
|
||||
if ( ! p_cdio ) return -2;
|
||||
return
|
||||
@@ -214,7 +214,7 @@ scsi_mmc_get_blocksize ( const CdIo *p_cdio)
|
||||
* Eject using SCSI MMC commands. Return 0 if successful.
|
||||
*/
|
||||
int
|
||||
scsi_mmc_eject_media( const CdIo *p_cdio )
|
||||
scsi_mmc_eject_media( const CdIo_t *p_cdio )
|
||||
{
|
||||
int i_status = 0;
|
||||
scsi_mmc_cdb_t cdb = {{0, }};
|
||||
@@ -254,7 +254,7 @@ scsi_mmc_eject_media( const CdIo *p_cdio )
|
||||
Can read only up to 25 blocks.
|
||||
*/
|
||||
int
|
||||
scsi_mmc_read_sectors ( const CdIo *p_cdio, void *p_buf, lba_t lba,
|
||||
scsi_mmc_read_sectors ( const CdIo_t *p_cdio, void *p_buf, lba_t lba,
|
||||
int sector_type, unsigned int nblocks )
|
||||
{
|
||||
scsi_mmc_cdb_t cdb = {{0, }};
|
||||
@@ -323,7 +323,7 @@ scsi_mmc_set_blocksize_private ( const void *p_env,
|
||||
}
|
||||
|
||||
int
|
||||
scsi_mmc_set_blocksize ( const CdIo *p_cdio, unsigned int i_bsize)
|
||||
scsi_mmc_set_blocksize ( const CdIo_t *p_cdio, unsigned int i_bsize)
|
||||
{
|
||||
if ( ! p_cdio ) return -2;
|
||||
return
|
||||
@@ -424,7 +424,7 @@ scsi_mmc_get_drive_cap_private (const void *p_env,
|
||||
}
|
||||
|
||||
void
|
||||
scsi_mmc_get_drive_cap (const CdIo *p_cdio,
|
||||
scsi_mmc_get_drive_cap (const CdIo_t *p_cdio,
|
||||
/*out*/ cdio_drive_read_cap_t *p_read_cap,
|
||||
/*out*/ cdio_drive_write_cap_t *p_write_cap,
|
||||
/*out*/ cdio_drive_misc_cap_t *p_misc_cap)
|
||||
@@ -510,7 +510,7 @@ scsi_mmc_get_dvd_struct_physical_private ( void *p_env, const
|
||||
Get the DVD type associated with cd object.
|
||||
*/
|
||||
discmode_t
|
||||
scsi_mmc_get_dvd_struct_physical ( const CdIo *p_cdio, cdio_dvd_struct_t *s)
|
||||
scsi_mmc_get_dvd_struct_physical ( const CdIo_t *p_cdio, cdio_dvd_struct_t *s)
|
||||
{
|
||||
if ( ! p_cdio ) return -2;
|
||||
return
|
||||
@@ -524,7 +524,7 @@ scsi_mmc_get_dvd_struct_physical ( const CdIo *p_cdio, cdio_dvd_struct_t *s)
|
||||
False is returned if we had an error getting the information.
|
||||
*/
|
||||
bool
|
||||
scsi_mmc_get_hwinfo ( const CdIo *p_cdio,
|
||||
scsi_mmc_get_hwinfo ( const CdIo_t *p_cdio,
|
||||
/*out*/ cdio_hwinfo_t *hw_info )
|
||||
{
|
||||
int i_status; /* Result of SCSI MMC command */
|
||||
@@ -594,7 +594,7 @@ scsi_mmc_get_mcn_private ( void *p_env,
|
||||
}
|
||||
|
||||
char *
|
||||
scsi_mmc_get_mcn ( const CdIo *p_cdio )
|
||||
scsi_mmc_get_mcn ( const CdIo_t *p_cdio )
|
||||
{
|
||||
if ( ! p_cdio ) return NULL;
|
||||
return scsi_mmc_get_mcn_private (p_cdio->env,
|
||||
@@ -609,7 +609,7 @@ scsi_mmc_get_mcn_generic (const void *p_user_data)
|
||||
}
|
||||
|
||||
/*
|
||||
Read cdtext information for a CdIo object .
|
||||
Read cdtext information for a CdIo_t object .
|
||||
|
||||
return true on success, false on error or CD-Text information does
|
||||
not exist.
|
||||
|
||||
Reference in New Issue
Block a user