diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2008-03-14 23:00:53 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2008-03-14 23:00:53 +0000 |
commit | 8e4bc81237dda4654b1d60639d6cea9045cbb8e3 (patch) | |
tree | 7b104af8012a4823c92e36f7f184881a229e9380 /lib/libarchive/archive_entry.h | |
parent | 1051e364aacec530b859c33f9ddd9c0e298b2eec (diff) |
New public functions archive_entry_copy_link() and archive_entry_copy_link_w()
override the currently set link value, whether that's a hardlink
or a symlink. Plus documentation update and tests.
Notes
Notes:
svn path=/head/; revision=177191
Diffstat (limited to 'lib/libarchive/archive_entry.h')
-rw-r--r-- | lib/libarchive/archive_entry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h index cc2bed2996ab..8c61b9553b63 100644 --- a/lib/libarchive/archive_entry.h +++ b/lib/libarchive/archive_entry.h @@ -163,6 +163,8 @@ void archive_entry_copy_hardlink(struct archive_entry *, const char *); void archive_entry_copy_hardlink_w(struct archive_entry *, const wchar_t *); void archive_entry_set_ino(struct archive_entry *, unsigned long); void archive_entry_set_link(struct archive_entry *, const char *); +void archive_entry_copy_link(struct archive_entry *, const char *); +void archive_entry_copy_link_w(struct archive_entry *, const wchar_t *); void archive_entry_set_mode(struct archive_entry *, mode_t); void archive_entry_set_mtime(struct archive_entry *, time_t, long); void archive_entry_set_nlink(struct archive_entry *, unsigned int); |