The motivation here is for example ot use in is an undocumented
debug command for LG drives (namely E7), whose length is being
miscalculated by mmc_get_cmd_len(); it doesn't follow the usual
code number to length conventions. Patch supplied by SukkoPera.
1. Fix a crash, which happened when cdtext_get() was called for an emtp=
y
(i.e. NULL) field.
2. Add another function cdtext_get_const(), which returns a const point=
er
and avoids too much strcpying (apps may want only to TEST if a
field is present or have their own string management routines).
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.
Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
or ATAPI or whatever.
cdda_interface: Use mmc_have_inteface() we don't have anything for
this except in GNU/Linux. May reduce the unnecessary data_bigendianp()
calls which cause lots of disc reading.
Turn #defines for MMC Profiles into enumeration.
Add enumeration for "core" interface types
#include <cdio/scsi_mmc.h> -> #include <cdio/mmc.h>
doesn't allow dynamic local arrays.
v_fragment -> v_fragment_t
libcdio.sym: more external symbols defined
/lib/_cdio_linux.c: harmless type mismatch
example/sample2.c -> example/device.c
on error.
Add MMC version of get_disc_last_lsn.
More regularization of driver_return_code_t and get_disc_last_lsn
There's probably some small driver breakage which will be fixed soon.
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.
Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)
Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia
Also made some small changes to capability indentification to show
more reading capabilties and show that.
cd-info now shows the total disc size.