summaryrefslogtreecommitdiff
path: root/libarchive/archive_read.3
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2010-02-08 02:18:22 -0500
committerTim Kientzle <kientzle@gmail.com>2010-02-08 02:18:22 -0500
commit9890b31ffd24646469461978c2ea2cbce07f9d51 (patch)
treea42d5e6150fcb2f696cefd181b20e714418490ce /libarchive/archive_read.3
parented4245cb9927b24413b1b96016e6e7635b31ac13 (diff)
downloadlibarchive-9890b31ffd24646469461978c2ea2cbce07f9d51.tar.gz
Rename archive_read_finish to archive_read_free and
archive_write_finish to archive_write_free. Update all clients, tests, and documentation to use the new names exclusively. (Though I've not yet run a global search-and-replace against the Wiki. I'll do that shortly.) I've preserved the old names as aliases, scheduled to be removed with libarchive 4.x, so there is no immediate impact to existing code from this change. SVN-Revision: 1891
Diffstat (limited to 'libarchive/archive_read.3')
-rw-r--r--libarchive/archive_read.38
1 files changed, 4 insertions, 4 deletions
diff --git a/libarchive/archive_read.3 b/libarchive/archive_read.3
index 742bebfa..51eb52e7 100644
--- a/libarchive/archive_read.3
+++ b/libarchive/archive_read.3
@@ -69,7 +69,7 @@
.Nm archive_read_extract2 ,
.Nm archive_read_extract_set_progress_callback ,
.Nm archive_read_close ,
-.Nm archive_read_finish
+.Nm archive_read_free
.Nd functions for reading streaming archives
.Sh SYNOPSIS
.In archive.h
@@ -196,7 +196,7 @@
.Ft int
.Fn archive_read_close "struct archive *"
.Ft int
-.Fn archive_read_finish "struct archive *"
+.Fn archive_read_free "struct archive *"
.Sh DESCRIPTION
These functions provide a complete API for reading streaming archives.
The general process is to first create the
@@ -457,7 +457,7 @@ object and the archive_entry object so that various statistics
can be retrieved for the progress display.
.It Fn archive_read_close
Complete the archive and invoke the close callback.
-.It Fn archive_read_finish
+.It Fn archive_read_free
Invokes
.Fn archive_read_close
if it was not invoked manually, then release all resources.
@@ -591,7 +591,7 @@ list_archive(const char *name)
printf("%s\\n",archive_entry_pathname(entry));
archive_read_data_skip(a);
}
- archive_read_finish(a);
+ archive_read_free(a);
free(mydata);
}