diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-04-02 00:11:54 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-04-02 00:11:54 +0000 |
commit | 53ce615be372500a481f1120f7b90af9cfd85adb (patch) | |
tree | 30b8c44e75a21d032a71958c27b9bc71fc9d0378 /lib/libarchive/archive_read_private.h | |
parent | 86444ce085f8aaa75198d64467e6dc7e08c094b7 (diff) | |
download | FreeBSD-src-53ce615be372500a481f1120f7b90af9cfd85adb.zip FreeBSD-src-53ce615be372500a481f1120f7b90af9cfd85adb.tar.gz |
Remove some unused fields from archive_read internal structure.
(Left over from when read and write used to share this structure.)
Diffstat (limited to 'lib/libarchive/archive_read_private.h')
-rw-r--r-- | lib/libarchive/archive_read_private.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libarchive/archive_read_private.h b/lib/libarchive/archive_read_private.h index 7789919..64844d7 100644 --- a/lib/libarchive/archive_read_private.h +++ b/lib/libarchive/archive_read_private.h @@ -93,9 +93,6 @@ struct archive_read { * test, e.g., 16 if you test a 2-byte magic value. The * highest bidder will have their init function invoked, which * can set up pointers to specific handlers. - * - * On write, the client just invokes an archive_write_set function - * which sets up the data here directly. */ struct { int (*bid)(const void *buff, size_t); @@ -103,9 +100,8 @@ struct archive_read { } decompressors[4]; /* Read/write data stream (with compression). */ void *compression_data; /* Data for (de)compressor. */ - int (*compression_init)(struct archive_read *); /* Initialize. */ int (*compression_finish)(struct archive_read *); - int (*compression_write)(struct archive_read *, const void *, size_t); + /* * Read uses a peek/consume I/O model: the decompression code * returns a pointer to the requested block and advances the |