libcdio-paranoia 10.2+2.0.2
Macros | Functions
scan_devices.c File Reference
#include "common_interface.h"
#include "low_interface.h"
#include "utils.h"
#include "cdio/mmc.h"
#include "cdio/util.h"
#include <limits.h>
#include <ctype.h>

Macros

#define PATH_MAX   4096
 

Functions

cdrom_drive_tcdio_cddap_find_a_cdrom (int messagedest, char **ppsz_messages)
 
cdrom_drive_tcdio_cddap_identify (const char *psz_dev, int messagedest, char **ppsz_messages)
 
cdrom_drive_tcdio_cddap_identify_cdio (CdIo_t *p_cdio, int messagedest, char **ppsz_messages)
 

Macro Definition Documentation

◆ PATH_MAX

#define PATH_MAX   4096

Function Documentation

◆ cdio_cddap_find_a_cdrom()

cdrom_drive_t * cdio_cddap_find_a_cdrom ( int  messagedest,
char **  ppsz_message 
)

autosense functions Get a CD-ROM drive with a CD-DA in it. If mesagedest is CDDA_MESSAGE_LOGIT, then any messages in the process will be stored in message.

When using CDDA_MESSAGE_LOGIT, free the message buffer with cdio_cddap_free_messages() after use.

◆ cdio_cddap_identify()

cdrom_drive_t * cdio_cddap_identify ( const char *  psz_dev,
int  messagedest,
char **  ppsz_messages 
)

Returns a paranoia CD-ROM drive object with a CD-DA in it or NULL if there was an error.

See also
cdio_cddap_identify_cdio

References idmessage(), and NULL.

◆ cdio_cddap_identify_cdio()

cdrom_drive_t * cdio_cddap_identify_cdio ( CdIo_t *  p_cdio,
int  messagedest,
char **  ppsz_messages 
)

Returns a paranoia CD-ROM drive object with a CD-DA in it or NULL if there was an error. In contrast to cdio_cddap_identify, we start out with an initialized p_cdio object. For example you may have used that for other purposes such as to get CDDB/CD-Text information.

See also
cdio_cddap_identify

References idmessage(), and NULL.