diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-11-15 05:33:38 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-11-15 05:33:38 +0000 |
commit | 62b3d9e35c851e5bc9c48c2ac5c0bd49a6e7c362 (patch) | |
tree | 7a34e7de615a290b3784a7e22f8ba27b20ce0888 /lib/libarchive/archive_read_open_file.c | |
parent | 8f03f2f27b2a8b3a0fee0018d878be4918bf193c (diff) | |
download | FreeBSD-src-62b3d9e35c851e5bc9c48c2ac5c0bd49a6e7c362.zip FreeBSD-src-62b3d9e35c851e5bc9c48c2ac5c0bd49a6e7c362.tar.gz |
Add archive_write_open_filename()/archive_read_open_filename() as
synonyms for archive_write_open_file()/archive_read_open_file().
The new names are much clearer.
Diffstat (limited to 'lib/libarchive/archive_read_open_file.c')
-rw-r--r-- | lib/libarchive/archive_read_open_file.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read_open_file.c b/lib/libarchive/archive_read_open_file.c index 8d0ea2c..cefc286 100644 --- a/lib/libarchive/archive_read_open_file.c +++ b/lib/libarchive/archive_read_open_file.c @@ -65,6 +65,13 @@ int archive_read_open_file(struct archive *a, const char *filename, size_t block_size) { + return (archive_read_open_filename(a, filename, block_size)); +} + +int +archive_read_open_filename(struct archive *a, const char *filename, + size_t block_size) +{ struct read_file_data *mine; if (filename == NULL || filename[0] == '\0') { |