Commit Graph

48 Commits

Author SHA1 Message Date
R. Bernstein
1a7366c674 types.h: gcc before 4.5 has a no-argument form of deprecated.
device.h: use LIBCIO_DEPRECATED macro rather than assume gcc.
2012-02-24 05:10:24 -05:00
rocky
12876c81fd Deprecate some defines - patch from Nicolas Boullis. 2012-02-19 13:04:36 -05:00
R. Bernstein
e0b2ee826d Don't error out on handling "NO PRE_EMPHASIS" in cdrdao TOC.
Savannah bug #34826:
2011-11-16 20:36:22 -05:00
R. Bernstein
c10bee26b6 mmc_util.{c,h} Break simpler non-dependent mmc helper or utility routines from mmc.{c,h} 2010-02-22 15:18:59 -05:00
R. Bernstein
e3a5e16cbb mmc.h: TEST_UNIT_READY MMC command opcode
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t.

win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set
return code status if sense data passed back. Translate bad parameter
MS Windows error into a driver_return_code_t error.

test/driver/mmc.c: Reinstate old logic now that the MS Windows driver
has been made to work more like other drivers and copes with some of
the MS Windows causing failure here.
2010-02-03 21:43:05 -05:00
Nicolas Boullis
91adaa6ff2 Update the documentation in include/cdio/device.h as well. 2009-07-13 00:48:25 +02:00
Nicolas Boullis
70dad66457 Add new cdio_drivers and cdio_device_drivers arrays. 2009-07-13 00:48:24 +02:00
R. Bernstein
58d87158cf Add OS/2 driver courtesy of KO Myung-Hun. Security: Add "%s" to cdparanoia's fprintfs 2009-02-08 05:52:49 -05:00
R. Bernstein
4f0228e99f Fix bug in 0.81 release in adding NetBSD driver. Make device enumerations
match internal structures. (Also corrected the name for the
non-existent AIX driver.)
2008-12-06 22:35:16 -05:00
rocky
70be01d454 cdio_have_xxx is now private. Add p1.bin to distribution. 2008-03-28 01:28:50 +00:00
rocky
0e463dfc0d Start NetBSD driver 2008-03-27 17:40:50 +00:00
karl
0664dad58a gplv3 2008-03-25 15:59:08 +00:00
rocky
0c2b1bfa9e mmc: add mmc_close_tray().
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
dbc63b695a Yet another attempt to get "get_drives_with_cap" working in a rational
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3 One more time, go over logic of get_drives_with_cap. 2006-03-27 02:48:41 +00:00
rocky
d25c11fbb8 cdio_driver_return_code_to_str -> cdio_driver_errmsg 2006-02-02 04:37:29 +00:00
rocky
6a83b97a27 read.h needs <sys/types.h> Add it into cdio_config.h and include only
once.  Fixed based on observation and suggestion of Steve Schultz.
2006-01-21 12:02:55 +00:00
rocky
5ac663c6a2 Add cdio_driver_return_code_to_str() to give a string interpretation
of a driver return code.
2006-01-15 01:26:50 +00:00
rocky
f045387b19 Document behavior of eject and cdio_open* when no device is given. 2006-01-14 10:09:55 +00:00
rocky
f9e4c5149c Doxygen lint to change #define to \#define in comments.
Add more enumerations.
2006-01-14 09:44:53 +00:00
rocky
5796ff7478 #define mistake -- caught by SWIG, believe it or not. 2005-11-29 07:16:33 +00:00
rocky
91147fd391 include/cdio++ Add pre- and post- increment/decrement operators for
libcdio enums that it makes sense to iterate over.

example/C++/OO/*: use these
example/*: match up C and C++ programs better.
2005-11-11 12:26:57 +00:00
rocky
6f81e9252b Add interface to eject CD-ROM by device name.
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
f0e815c967 Small typos. 2005-11-06 22:50:37 +00:00
rocky
2a11267eb9 Doxygen lint corrections. 2005-03-21 09:19:06 +00:00
rocky
0507f61921 Allow returned parameters to be NULL. 2005-03-14 02:02:49 +00:00
rocky
068120281b Start of a working close_tray routine.
Add another routines which returns driver id to help reduce driver scans.
Reduce unneeded driver scanning my skipping DRIVER_UNKNOWN.
2005-03-07 07:23:52 +00:00
rocky
083e586379 Was destroying device list when getting capabilities. This should be an
in parameter only.
2005-03-06 22:04:07 +00:00
rocky
1fe287e813 More audio control corrections. 2005-03-06 11:21:52 +00:00
rocky
b0f8934073 get_last_session returns lsn_t not session number.
Add get_track_last_session for Solaris. Correct it's play_msf.
2005-03-05 10:48:41 +00:00
rocky
822a203ba8 Add API routine to get last session number. 2005-03-05 10:10:16 +00:00
rocky
cd328dac84 Report ability to read MCN.
Add MMC routine to read audio subchannel.
2005-03-01 09:33:52 +00:00
rocky
306f8bc498 More device error return codes. More detailed errors when CDROM_SEND_PACKET
fails.
2005-02-28 02:00:20 +00:00
rocky
e13dd6df2f Remove doxygen references to get_speed() routines. They don't exist
and seem to confuse people.
2005-02-12 15:27:22 +00:00
rocky
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
71a71d7f56 Start to implement ability to a detect media change.
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
fc60baec9c Move track things out off sector.h 2005-02-06 04:20:25 +00:00
rocky
667af7fbb7 all: Add various enums to allow debugging using #define names.
cdda: remove interface field (COOKED, SCSI). It's not going to be used.
iso9660.h: add fuzzy iso9660 search.
2005-02-05 04:23:21 +00:00
rocky
8ad5e4cbb0 Doxygen changes. 2005-01-29 20:54:20 +00:00
rocky
19856a30da Change read routines so the use the driver_return_code_t enumeration.
It's a little cleaner and may make things clearer in debugging.
2005-01-23 19:16:58 +00:00
rocky
fb07d7d0fe Various doxygen improvements. 2005-01-20 04:51:14 +00:00
rocky
f7ebed2287 Add DRIVER_OP_UNINIT and change appropriate DRIVER_OP_ERROR's to
DRIVER_OP_UNINIT.
2005-01-20 00:36:38 +00:00
rocky
7796f6cce7 Try to regularize driver operation return codes via a new enumeation
return type. (I may regret this later as we return ioctl's int value
in some cases).

cdio.h: get/set_arg moved to device.
2005-01-19 09:23:24 +00:00
rocky
e5bdc956e9 Add interface for setting speed and blocksize. Reinstated it in
cd-paranoia libraries and command.

Some more variable convention regularizations.
2005-01-18 00:57:19 +00:00
rocky
6f7e9e182b cdio.{c,h}: moved various reading and device/driver routines out into the below
read.{c,h}: separate include for the reading routines.
disc.{c,h}: more moved here from corresponding cdio.
device.c: a place for device/driver related routines.
interface.c: break up line to make debugging easier.
2005-01-09 16:07:46 +00:00
rocky
7a2a44a814 The first all libcdio cdda_interface. There are some gaps could be
filled.

cdda_inteface.h renamed to cdda.h

cdio_destroy moved from cdio.h to device.h
2005-01-05 04:16:11 +00:00
rocky
2c20dfb2ef Add device for drive(r)/device things. Reorganize more to pull things
out of cdio and into their respective units.
2005-01-04 10:58:03 +00:00