rocky
8bf123a750
More enumerations.
...
*.c: add "debugger" enumeration variables.
2006-01-14 09:45:44 +00:00
rocky
8cc672c305
Remove GCC 4 warning about ignored "packed".
2006-01-14 08:58:25 +00:00
rocky
fe54e2baa8
In C++ read.h needs <sys/types.h>. Don't know if this should be fixed
...
here (where we could concievably check for HAVE_SYS_TYPES_H or in
read.h (where it would be inde via cdio_config.h, but for now we'll do
it this way.
2006-01-05 22:01:44 +00:00
rocky
99ea8b6fbe
Using inline seems to cause a linking problem. Don't know exactly
...
under what conditions or why, but "inline" isn't all that vital.
2006-01-05 21:58:52 +00:00
rocky
edfc03ac78
*** empty log message ***
2005-11-10 11:23:42 +00:00
rocky
d7dd4a6c8a
First cut at a C++ wrapper for libcdio libcdio++. What's not done are
...
audio and MMC commands. No doubt it may be a little rough and I expect
further changes.
2005-11-10 11:11:15 +00:00
rocky
d035ad1221
add read_sector{s}
...
cdtext.h: Small typo.
2005-11-10 00:44:40 +00:00
pjcreath
416d729fa5
Documented silence matching
2005-11-08 23:21:40 +00:00
pjcreath
8da7896c23
Commented stage 2 extensively.
2005-11-07 20:06:45 +00:00
pjcreath
b460e8bb31
Cleaned up TRACE_PARANOIA and added some messages for the skip case.
2005-11-07 19:48:50 +00:00
rocky
c2c69389cd
Add cdio_eject_media_drive.
2005-11-07 07:54:41 +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
2f8e8b9529
Was giving a failure status on eject when it succeeded. The failure
...
was because ioctl(fd, BLKRRPART) didn't succeed. Turn this into a
cdio_info warning instead.
2005-11-07 07:41:29 +00:00
rocky
33b8449e7e
More separation between posix_mode_t and mode_t.
2005-11-06 20:02:39 +00:00
rocky
00fba6a2c0
Return type of iso9660_get_posix_mode should be mode_t (the OS-specific
...
version), not posix_mode_t (cdio's internally consistent version.
2005-11-06 19:15:43 +00:00
rocky
643ab46b25
Need #include<sys/stat.h>
2005-11-06 00:42:17 +00:00
rocky
6e4743c734
Break out POSIX-like definitions to posix.h
...
Add ISO9660 routines to convert to mode_t
Record whether XA or not in iso9660_stat_t.
And other definition shifting around.
2005-11-06 00:39:37 +00:00
rocky
765b1529ea
A couple of corrections on udf_get_file_length().
2005-11-02 03:49:15 +00:00
rocky
78883887df
Add routine to get file length.
...
Fix bug in retrieving dirent for root.
Reduce overhead in udf_get_link_count()
2005-11-02 03:42:49 +00:00
rocky
e9851bf3a3
udf_find_file -> udf_fopen and made closer to fopen(). It also
...
simplifies things a little bit. Start testing.
2005-11-01 13:07:01 +00:00
rocky
00a3010210
Remove extraneous parameter on udf_opendir().
2005-11-01 03:21:04 +00:00
rocky
7de9d148bf
Rename some functions to be more like POSIX file reading, i.e. add
...
udf_opendir() and udf_readdir(). udf_file_entry_t -> udf_dirent_t.
2005-11-01 03:14:49 +00:00
rocky
8524d367b3
udf_times_to_stamp -> udf_timespec_to_stamp
2005-10-30 14:10:44 +00:00
rocky
9ec9c5a991
Break of file routines into udf_file.{c,h}
...
udf1: Add link count
2005-10-30 07:35:36 +00:00
rocky
6c7ca93321
Replace some numbers with enum "constants".
2005-10-30 06:06:09 +00:00
rocky
17de10953a
Fill out file modes better and clean up interface more by trying to
...
funnel into POSIX file mode_t. FIXME: something needs to be done to
merge ISO9660 interfaces and UDF and probably the right thing is to
make it look like POSIX. Would be nice if there were a library
e.g. from GNU fileutils I could use to help.
2005-10-30 05:43:01 +00:00
rocky
7b44e5b47e
Fill out posix attributes a little. Add directory listing to output.
2005-10-29 14:52:47 +00:00
rocky
031b7199e9
Add more access functions.
2005-10-29 14:43:50 +00:00
rocky
c74242e942
Use MMC routine for reading data blocks. At leat on XP home it seems to work
...
better than generic read which is a cooked read.
2005-10-28 12:43:30 +00:00
rocky
5583cbccd7
More documentation of ecma 167. Some fields changed names. More
...
#defines removed/replaced by enum type and variables.
2005-10-27 11:18:56 +00:00
rocky
311bed3fba
Attempt to deal with OS's (like BSDI) that don't have an extern long timezone.
2005-10-27 03:26:39 +00:00
rocky
2ee302e4f8
Changes to make work on Cygwin. However probably need a more general
...
test for timezone being extern long.
2005-10-27 03:03:42 +00:00
rocky
8881e6b50d
File entry update fixed on udf_get_next().
...
More access functions added to return a UDF file entry
and to interpret a permission string.
2005-10-27 01:23:48 +00:00
rocky
645cbacbc2
Add some UDF time routines and time-conversion routines.
...
Note: udf_get_next() needs to advance file entry info
2005-10-26 02:05:53 +00:00
rocky
d10ea87088
Add routine to get volumeset id
2005-10-25 13:19:05 +00:00
rocky
fcd818f4ba
Add silly volume identifier. More #defines removed in favor of enums.
2005-10-25 03:13:13 +00:00
rocky
fd0bbfbab1
Remove memory leak and invalid write references thanks to valgrind.
...
Now lists all files correctly - at least in the absense of directories
under /.
2005-10-25 01:19:48 +00:00
pjcreath
723c5d5dae
Added TRACE_PARANOIA, which differs from cdparanoia's NOISY compile-time
...
flag in that it's designed to help someone understand how cdparanoia works,
rather than troubleshoot. Setting TRACE_PARANOIA to 1 traces stage 1,
2 trace stage 2, and 3 traces both (and is extremely verbose).
Additionally, committed a tentative bugfix to paranoia itself, which was
causing the libcdio test case to break. If it introduces unexpected
behavior, it should be backed out. So far it seems to fix all test cases.
2005-10-24 19:42:15 +00:00
rocky
b0306c811e
UDF file is now opaque. Access routines then added.
...
Note: there are valgrind and free() errors that need going over.
2005-10-24 10:14:57 +00:00
rocky
63402ba0c9
List more of the external routines (udf_get_next, udf_get_sub)
2005-10-24 08:51:17 +00:00
rocky
50045f874b
Ignore the usual.
2005-10-24 03:23:25 +00:00
rocky
8d956e8db1
Makefile.am for libudf
2005-10-24 03:14:38 +00:00
rocky
e9be12e7e5
First inkling of code for UDF support.
2005-10-24 03:12:30 +00:00
rocky
8be2ccedee
Remove a #define we don't need.
2005-10-23 12:17:30 +00:00
rocky
ef3244f025
Rmove references to external (SCSI) routines that don't in fact exist.
2005-10-23 11:32:57 +00:00
rocky
3fbbc62c49
Patch by Erik Lunchpail to accomodate systems (e.g. MinGW) that don't
...
have drand48 but have rand.
2005-10-23 11:28:20 +00:00
rocky
6b8618d6c7
Start list of external symbols for Nicholas.
2005-10-21 12:34:45 +00:00
rocky
a6472512f6
Start some UDF routines. Very preliminary.
2005-10-21 12:31:02 +00:00
rocky
7f4e8140ae
Turn one more set of #define into an enum
2005-10-21 11:27:09 +00:00
rocky
fa0848bf90
Try to regularize naming better. More mmc_ -> cdio_mmc_
...
Add more debug variables to be able to get at enum values in a debugger.
2005-10-21 11:13:54 +00:00