summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libarchive/archive_read_private.h6
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
OpenPOWER on IntegriCloud