summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_read.3
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2006-11-26 19:00:50 +0000
committerkientzle <kientzle@FreeBSD.org>2006-11-26 19:00:50 +0000
commit0f8fa3629e664a8cdfd6022cc1840102e3ff8c2c (patch)
treeebb3f03dd6640df049cc9396f4d753c10aa6ccc4 /lib/libarchive/archive_read.3
parent24b0d3f0fdb86f7a4f9ecc9d9a8d01046094ed63 (diff)
downloadFreeBSD-src-0f8fa3629e664a8cdfd6022cc1840102e3ff8c2c.zip
FreeBSD-src-0f8fa3629e664a8cdfd6022cc1840102e3ff8c2c.tar.gz
Write-blocking cleanup, largely thanks to Colin Percival (cperciva@).
* If write block size is zero, don't block at all. This supports the unusual requirement of applications that need "no-delay" writes. * Expose _write_finish_entry() to give such applications more control over write boundaries. (Normal applications do not need this, as entries are completed automatically.) * Correct the type of write callbacks; this is a minor API change that does not affect the ABI. * Correct the error handling in _write_next_header() around completing the previous entry. * Correct the documentation for block-size markers: Remove docs for the long-defunct _read_set_block_size(); document all of the write block size manipulators. MFC after: 14 days
Diffstat (limited to 'lib/libarchive/archive_read.3')
-rw-r--r--lib/libarchive/archive_read.38
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libarchive/archive_read.3 b/lib/libarchive/archive_read.3
index 7beb90e..cde80c9 100644
--- a/lib/libarchive/archive_read.3
+++ b/lib/libarchive/archive_read.3
@@ -29,7 +29,6 @@
.Os
.Sh NAME
.Nm archive_read_new ,
-.Nm archive_read_set_bytes_per_block ,
.Nm archive_read_support_compression_all ,
.Nm archive_read_support_compression_bzip2 ,
.Nm archive_read_support_compression_compress ,
@@ -62,8 +61,6 @@
.Ft struct archive *
.Fn archive_read_new "void"
.Ft int
-.Fn archive_read_set_bytes_per_block "struct archive *" "int"
-.Ft int
.Fn archive_read_support_compression_all "struct archive *"
.Ft int
.Fn archive_read_support_compression_bzip2 "struct archive *"
@@ -129,11 +126,6 @@ order they would be used:
Allocates and initializes a
.Tn struct archive
object suitable for reading from an archive.
-.It Fn archive_read_set_bytes_per_block
-Sets the block size used for reading the archive data.
-This controls the size that will be used when invoking the read
-callback function.
-The default is 20 records or 10240 bytes for tar formats.
.It Fn archive_read_support_compression_all , Fn archive_read_support_compression_bzip2 , Fn archive_read_support_compression_compress , Fn archive_read_support_compression_gzip , Fn archive_read_support_compression_none
Enables auto-detection code and decompression support for the
specified compression.
OpenPOWER on IntegriCloud