libcdio-paranoia 10.2+2.0.2
|
#include "common_interface.h"
#include "low_interface.h"
#include "utils.h"
#include <cdio/bytesex.h>
#include <cdio/mmc.h>
#include <cdio/paranoia/version.h>
Functions | |
const char * | cdio_cddap_version (void) |
bool | cdio_cddap_close_no_free_cdio (cdrom_drive_t *d) |
int | cdio_cddap_close (cdrom_drive_t *d) |
int | cdio_cddap_open (cdrom_drive_t *d) |
int | cdio_cddap_speed_set (cdrom_drive_t *d, int speed) |
long | cdio_cddap_read_timed (cdrom_drive_t *d, void *buffer, lsn_t beginsector, long sectors, int *ms) |
long | cdio_cddap_read (cdrom_drive_t *d, void *buffer, lsn_t beginsector, long sectors) |
void | cdio_cddap_verbose_set (cdrom_drive_t *d, int err_action, int mes_action) |
char * | cdio_cddap_messages (cdrom_drive_t *d) |
char * | cdio_cddap_errors (cdrom_drive_t *d) |
void | cdio_cddap_free_messages (char *psz_messages) |
int cdio_cddap_close | ( | cdrom_drive_t * | d | ) |
Closes d and releases all storage associated with it. Doubles as "cdrom_drive_free()".
d | cdrom_drive_t object to be closed. |
bool cdio_cddap_close_no_free_cdio | ( | cdrom_drive_t * | d | ) |
Closes d and releases all storage associated with it except the internal p_cdio pointer.
d | cdrom_drive_t object to be closed. |
char * cdio_cddap_errors | ( | cdrom_drive_t * | d | ) |
Returns the current error buffer. Free the returned string using cdio_cddap_free_messages() if not NULL.
void cdio_cddap_free_messages | ( | char * | psz_messages | ) |
Frees the message string passed in psz_messages.
References NULL.
char * cdio_cddap_messages | ( | cdrom_drive_t * | d | ) |
Returns the current message buffer. Free the returned string using cdio_cddap_free_messages() if not NULL.
int cdio_cddap_open | ( | cdrom_drive_t * | d | ) |
long cdio_cddap_read | ( | cdrom_drive_t * | d, |
void * | buffer, | ||
lsn_t | beginsector, | ||
long | sectors | ||
) |
long cdio_cddap_read_timed | ( | cdrom_drive_t * | d, |
void * | buffer, | ||
lsn_t | beginsector, | ||
long | sectors, | ||
int * | ms | ||
) |
int cdio_cddap_speed_set | ( | cdrom_drive_t * | d, |
int | speed | ||
) |
drive-oriented functions
void cdio_cddap_verbose_set | ( | cdrom_drive_t * | d, |
int | err_action, | ||
int | mes_action | ||
) |
const char * cdio_cddap_version | ( | void | ) |
informational functions
References LIBCDIO_PARANOIA_VERSION.