702bd0f288
Isolate non-standard eaccess usage in a util function.
...
That will be replaced soon with our own implementation, based on POSIX
standard functions.
2007-12-30 18:07:01 +01:00
c3ded11773
Util function to convert string charset.
2007-12-27 21:11:29 +01:00
dd97f67ee4
Add functions to read timestamps from ISO images.
2007-12-27 00:29:12 +01:00
aae230a321
Add util functions to deal with ISO types.
2007-12-27 00:19:09 +01:00
9ec475a900
Change iso name conversion functions back to old style.
2007-12-22 20:49:30 +01:00
2f383215ff
Implement Writer for file contents.
...
Some aspects, such as better reporting of file bigger or smaller than
expected is needed, but all situations are handled propertly.
2007-12-20 22:17:18 +01:00
e6bd1586d6
Replace glibc tsearch() with a custom red-black tree implementation.
...
The library supplied tree estructure is not enought for our needs, due to its
limited API. Thus, we have implemented a suitable red-black tree.
2007-12-20 00:25:25 +01:00
2dc15ab164
Add some util functions, mostly copied from old libisofs.
2007-12-18 21:51:33 +01:00
c03d4d9b33
Implementation of name mangling algorithm.
...
This has to ensure that file names are unique among all files in an iso
directory. Current implementation can be improved by using a hash table
to keep the names, instead of iterate over all children. An alternative
method, keeping children sorted all the time, thus allowing binary
search, has been considered but discarded.
Current implementation support up to 9,999,999 equal files per
directory.
2007-12-16 17:32:05 +01:00
8f7222609e
Add support for generating ISO identifiers from ASCII strings.
2007-12-14 22:13:00 +01:00
315f1a1717
Support for charset conversion from any encoding to ASCII.
2007-12-14 21:42:55 +01:00
115da82c9e
First util functions, with corresponding unit test.
2007-12-13 21:02:36 +01:00