Commit Graph

511 Commits

Author SHA1 Message Date
rocky
f0e815c967 Small typos. 2005-11-06 22:50:37 +00:00
rocky
33b8449e7e More separation between posix_mode_t and mode_t. 2005-11-06 20:02:39 +00:00
rocky
18e8567d8a posix_mode_t -> mode_t 2005-11-06 19:26:12 +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
f7bd8503b6 I think mode_t (not posix_mode_t) is correct here. The goal is to use
in normal OS file operations.
2005-11-06 19:12:35 +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
8555f75652 Break off udf_file routines from udf.h 2005-10-30 07:36:15 +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
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
031b7199e9 Add more access functions. 2005-10-29 14:43:50 +00:00
rocky
df6402a4fd OS/X's linker does not permit common symbols in shared libs. 2005-10-29 03:43:14 +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
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
401cb0f35a Typo. 2005-10-26 23:55:02 +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
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
e9be12e7e5 First inkling of code for UDF support. 2005-10-24 03:12:30 +00:00
rocky
50ad6d7559 udf.h: Mostly add a couple more routines and more fields in udf_file_t
ecma_167.h: more udf_ prefixes, add extern debugger symbols.
2005-10-21 12:33:46 +00:00
rocky
23f32e8757 Minor comment change. 2005-10-21 11:51:42 +00:00
rocky
b66cccbf43 Remove some #defines covered by enums. 2005-10-21 11:46:13 +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
rocky
6427beaefe Redo UDF_BLOCKSIZE so we can use symbol in debugging. 2005-10-19 07:06:35 +00:00
rocky
32193ca0c6 More changes based on use. 2005-10-19 06:55:55 +00:00
rocky
6775aa1086 Add udf_fileid_desc_t: were getting closer to being able to deal with
files now.

Add remaining udf_ prefixes extent_ad_{s,t} and lb_addr_{s,t}
2005-10-19 05:45:41 +00:00
rocky
0bf9eeef03 Add udf_close().
udf_seek_read() renamed to udf_read_sectors().
First (lame) attempt to define UDF file entry structure.
2005-10-19 05:41:40 +00:00
rocky
8102fd0495 Typo. 2005-10-18 03:14:39 +00:00
rocky
0f1c0f2482 Add udf_ to another type (udf_icbtag) 2005-10-18 03:12:55 +00:00
rocky
6daf69df03 More changes based on use. 2005-10-18 03:10:39 +00:00
rocky
54aa189af0 Add a couple more udf_ prefixes to some types. 2005-10-17 03:40:44 +00:00
rocky
41a7101c5a Add constants for some string #defines. 2005-10-17 03:38:05 +00:00
rocky
a20483cedc Shortten some field names, add udf_ prefixes to aid with namespace
problem; turn logical volume descriptor content use into something
more useable.
2005-10-17 03:23:04 +00:00
rocky
53965c998b Datatypes closer to matching terms used in ECMA 167
spec. Combine/remove duplicate tag identifer definitions.
2005-10-16 22:40:51 +00:00
rocky
326776a693 Minor formatting changes. 2005-10-14 02:07:06 +00:00
rocky
1d52037d81 Revise as per analysis of Peter J. Creath. 2005-10-14 01:18:59 +00:00
rocky
a6657a8266 ecma_167.h: doxygen description changes a little.
udf.h: First external function added.
2005-10-13 02:39:43 +00:00
rocky
63cd9f05a3 ecma_167.h: shorten some tags based on use
Makefile.am: add udf.h - Oops that file will be added in the next commit.
2005-10-13 02:37:20 +00:00
rocky
8812a35fd3 Already 1st slight improvement: move #include after test if we've been
included before.
2005-10-13 01:03:23 +00:00
rocky
fb52788891 The top-level interface header for libudf: the UDF library;
applications include this.

First file checked in towards UDF support! (Admittedly not very exciting.)
2005-10-13 01:02:32 +00:00
rocky
85f5b06b1b Fix some typos. 2005-10-12 11:26:06 +00:00
rocky
01a86fd79d Some provision for handling Rock-Ridge device numbers. 2005-10-04 09:59:46 +00:00
rocky
2afad8d866 Move lower-level cdrom_drive_t from paranoia.h into cdda.h
This may cause some incompatibilty in applications that did
#include <cdio/cdda.h> without #include <cdio/paranoia.h>

As of now it's okay to just #include <cdio/paranoia.h> or include both,
but #includ'ing only <cdio/cdda.h> will be a problem.
2005-09-21 01:41:31 +00:00