0ad/source/lib/res/file/zip.h
janwas 36cbf23c8e v2 of file/res code for thesis:
previous zip.* split up into archive, zip and compression. add O(1)
lookup via memento. add support for writing Zip archive. simplify IO by
having compression module allow queuing input buffers.

file: split up into file, file_Io, file_cache. add atom_fn that enables
string comparison via pointer compare. (stores all filenames/paths in
one place). add statistics gathering.
file_cache: landlord algorithm for caching files as well as LRU block
cache.
file_io: aio code that splits transfers into blocks revamped and made
into class.

vfs: filelist/trace code moved into new vfs_optimizer. add caching logic
to vfs_load.
vfs_optimizer: will generate zip archive (to replace current archive
builder script). not yet done
vfs_tree: major cleanup - now has nice base class rather than union
hackery.

This was SVN commit r3420.
2006-01-23 20:05:09 +00:00

12 lines
215 B
C
Executable File

#ifndef ZIP_H__
#define ZIP_H__
#include "archive.h"
#include "file.h"
extern LibError zip_populate_archive(Archive* a, File* f);
extern void zip_fixup_lfh(File* f, ArchiveEntry* ent);
#endif // #ifndef ZIP_H__