diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-11-20 16:48:04 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-11-20 16:48:04 +0000 |
commit | 1eab20d6eacc49ec68067a17fb26b0ea720a9aa1 (patch) | |
tree | ccf9c8e67b4411225c9d2d3ba56b57e7a76c05c3 /lib/libarchive/archive_read.3 | |
parent | 6168acc09e848e7b94c9d0db73a24959fb2b6899 (diff) | |
download | FreeBSD-src-1eab20d6eacc49ec68067a17fb26b0ea720a9aa1.zip FreeBSD-src-1eab20d6eacc49ec68067a17fb26b0ea720a9aa1.tar.gz |
Officially rename archive_{read,write}_open_file() to
archive_{read,write}_open_filename():
* Update Makefile to build the files using the new name.
* Update docs to document the new names, mentioning the
old ones as "deprecated synonyms."
* The old filenames will be reconnected to the build soon;
I'll soon recyce those files for a slightly different purpose.
Diffstat (limited to 'lib/libarchive/archive_read.3')
-rw-r--r-- | lib/libarchive/archive_read.3 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libarchive/archive_read.3 b/lib/libarchive/archive_read.3 index ec9ae3d..84a30b6 100644 --- a/lib/libarchive/archive_read.3 +++ b/lib/libarchive/archive_read.3 @@ -43,7 +43,7 @@ .Nm archive_read_open , .Nm archive_read_open2 , .Nm archive_read_open_fd , -.Nm archive_read_open_file , +.Nm archive_read_open_filename , .Nm archive_read_next_header , .Nm archive_read_data , .Nm archive_read_data_block , @@ -88,7 +88,7 @@ .Ft int .Fn archive_read_open_fd "struct archive *" "int fd" "size_t block_size" .Ft int -.Fn archive_read_open_file "struct archive *" "const char *filename" "size_t block_size" +.Fn archive_read_open_filename "struct archive *" "const char *filename" "size_t block_size" .Ft int .Fn archive_read_next_header "struct archive *" "struct archive_entry **" .Ft ssize_t @@ -158,7 +158,7 @@ Freeze the settings, open the archive, and prepare for reading entries. This is the most generic version of this call, which accepts four callback functions. Most clients will want to use -.Fn archive_read_open_file +.Fn archive_read_open_filename or .Fn archive_read_open_fd instead. @@ -173,6 +173,9 @@ Note that the file descriptor will not be automatically closed at end-of-archive. This function is safe for use with tape drives or other blocked devices. .It Fn archive_read_open_file +This is a deprecated synonym for +.Fn archive_read_open_filename . +.It Fn archive_read_open_filename Like .Fn archive_read_open , except that it accepts a simple filename and a block size. |