aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_entry.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2005-06-01 15:44:23 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2005-06-01 15:44:23 +0000
commit3a2a859dd4bf151712758da09adfe88aa5b54347 (patch)
treea0265f8757a9cdf69f87dcceeb15a519dc097d2c /lib/libarchive/archive_entry.h
parent659e382f5b1c0c880aa5489a70870660d0937890 (diff)
A minor refinement to "pax" output: Remove suid/sgid/sticky bits
from mode before using mode for extended attributes entry, copy mtime/atime/ctime to extended attributes entry so it's a little more clear that it corresponds to the like-named regular entry. MFC after: 14 days
Notes
Notes: svn path=/head/; revision=146875
Diffstat (limited to 'lib/libarchive/archive_entry.h')
-rw-r--r--lib/libarchive/archive_entry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h
index 2f67c8afa0e0..cba416dbe2fd 100644
--- a/lib/libarchive/archive_entry.h
+++ b/lib/libarchive/archive_entry.h
@@ -96,6 +96,8 @@ const char *archive_entry_uname(struct archive_entry *);
*/
void archive_entry_copy_stat(struct archive_entry *, const struct stat *);
+void archive_entry_set_atime(struct archive_entry *, time_t, long);
+void archive_entry_set_ctime(struct archive_entry *, time_t, long);
void archive_entry_set_fflags(struct archive_entry *,
unsigned long set, unsigned long clear);
/* Returns pointer to start of first invalid token, or NULL if none. */