| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
All close() implementations must call this method.
|
|
|
|
|
|
|
|
| |
Major API redesign: don't let the caller allocate the input_stream
object. Let each input plugin allocate its own (derived/extended)
input_stream pointer. The "data" attribute can now be removed, and
all input plugins simply cast the input_stream pointer to their own
structure (with an "struct input_stream base" as the first attribute).
|
| |
|
|
|
|
|
|
|
| |
Make the input_stream implementation hold a reference on the
archive_file object. Allow the caller to "close" the archive_file
object immediately, no matter if the open_stream() method has
succeeded or not.
|
|
|
|
| |
The archive plugin should decide this.
|
|
|
|
| |
Reduce the number of malloc()/free() calls.
|
|
|
|
| |
Don't use the bz2_archive_file object for the input_stream.
|
| |
|
|
|
|
|
| |
Make archive_file a "real" struct, extended by all plugins. Add the
plugin pointer to it. Wrap all method calls in functions.
|
| |
|
|
|
|
|
| |
Moved the archive plugin "extern" declarations into each plugin
header.
|
|
|
|
| |
Use the raw struct name instead.
|
|
|