28#ifndef CDIO__PARANOIA__PARANOIA_H_
29#define CDIO__PARANOIA__PARANOIA_H_
37#define CD_FRAMEWORDS (CDIO_CD_FRAMESIZE_RAW/2)
156 void(*callback)(
long int,
176 void(*callback)(
long int,
198#ifndef DO_NOT_WANT_PARANOIA_COMPATIBILITY
200#define cdrom_paranoia cdrom_paranoia_t
201#define paranoia_version cdio_paranoia_version
202#define paranoia_init cdio_paranoia_init
203#define paranoia_free cdio_paranoia_free
204#define paranoia_modeset cdio_paranoia_modeset
205#define paranoia_seek cdio_paranoia_seek
206#define paranoia_read cdio_paranoia_read
207#define paranoia_read_limited cdio_paranoia_read_limited
208#define paranoia_overlapset cdio_paranoia_overlapset
209#define paranoia_set_range cdio_paranoia_set_range
210#define paranoia_cachemodel_size cdio_paranoia_cachemodel_size
The top-level interface header for libcdio_cdda. Applications include this for paranoia access.
int16_t * cdio_paranoia_read_limited(cdrom_paranoia_t *p, void(*callback)(long int, paranoia_cb_mode_t), int max_retries)
Definition: paranoia.c:2926
cdrom_paranoia_t * cdio_paranoia_init(cdrom_drive_t *d)
paranoia_mode_t debug_paranoia_mode
Definition: paranoia.c:138
int cdio_paranoia_cachemodel_size(cdrom_paranoia_t *p, int sectors)
paranoia_cb_mode_t debug_paranoia_cb_mode
Definition: paranoia.c:139
paranoia_cb_mode_t
Definition: paranoia.h:70
@ PARANOIA_CB_VERIFY
Definition: paranoia.h:72
@ PARANOIA_CB_FIXUP_DROPPED
Definition: paranoia.h:81
@ PARANOIA_CB_FIXUP_EDGE
Definition: paranoia.h:73
@ PARANOIA_CB_DRIFT
Definition: paranoia.h:78
@ PARANOIA_CB_READERR
Definition: paranoia.h:83
@ PARANOIA_CB_SKIP
Definition: paranoia.h:77
@ PARANOIA_CB_FIXUP_DUPED
Definition: paranoia.h:82
@ PARANOIA_CB_SCRATCH
Definition: paranoia.h:75
@ PARANOIA_CB_READ
Definition: paranoia.h:71
@ PARANOIA_CB_BACKOFF
Definition: paranoia.h:79
@ PARANOIA_CB_FIXUP_ATOM
Definition: paranoia.h:74
@ PARANOIA_CB_REPAIR
Definition: paranoia.h:76
@ PARANOIA_CB_OVERLAP
Definition: paranoia.h:80
@ PARANOIA_CB_FINISHED
Definition: paranoia.h:86
@ PARANOIA_CB_WROTE
Definition: paranoia.h:85
@ PARANOIA_CB_CACHEERR
Definition: paranoia.h:84
void cdio_paranoia_set_range(cdrom_paranoia_t *p, long int start, long int end)
void cdio_paranoia_overlapset(cdrom_paranoia_t *p, long overlap)
paranoia_mode_t
Definition: paranoia.h:48
@ PARANOIA_MODE_DISABLE
Definition: paranoia.h:49
@ PARANOIA_MODE_REPAIR
Definition: paranoia.h:54
@ PARANOIA_MODE_FRAGMENT
Definition: paranoia.h:51
@ PARANOIA_MODE_OVERLAP
Definition: paranoia.h:52
@ PARANOIA_MODE_NEVERSKIP
Definition: paranoia.h:55
@ PARANOIA_MODE_VERIFY
Definition: paranoia.h:50
@ PARANOIA_MODE_FULL
Definition: paranoia.h:57
@ PARANOIA_MODE_SCRATCH
Definition: paranoia.h:53
int16_t * cdio_paranoia_read(cdrom_paranoia_t *p, void(*callback)(long int, paranoia_cb_mode_t))
void cdio_paranoia_free(cdrom_paranoia_t *p)
const char * paranoia_cb_mode2str[]
Definition: paranoia.c:116
lsn_t cdio_paranoia_seek(cdrom_paranoia_t *p, int32_t seek, int whence)
void cdio_paranoia_modeset(cdrom_paranoia_t *p, int mode_flags)
const char * cdio_paranoia_version(void)
Definition: paranoia.c:3153
Structure for cdparanoia's CD-ROM access.
Definition: cdda.h:80
Definition: p_block.h:153