diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-05 18:11:44 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-05 18:11:44 +0000 |
commit | f586f10d0d5fb1b99f24d805bc845a44362ec863 (patch) | |
tree | 898442ea20e803fdf4ac341967c52c7acecebe44 /lib/libarchive/archive_entry.h | |
parent | 7228b0c18b37ea7900090cc6a65a85fc848e7723 (diff) |
Add convenience functions to retrieve the atime fields directly,
without having to first pull the stat structure.
Notes
Notes:
svn path=/head/; revision=131640
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 9feb6d45dd72..96d40f9c552b 100644 --- a/lib/libarchive/archive_entry.h +++ b/lib/libarchive/archive_entry.h @@ -64,6 +64,8 @@ struct archive_entry *archive_entry_new(void); * Retrieve fields from an archive_entry. */ +time_t archive_entry_atime(struct archive_entry *); +long archive_entry_atime_nsec(struct archive_entry *); dev_t archive_entry_dev(struct archive_entry *); void archive_entry_fflags(struct archive_entry *, unsigned long *set, unsigned long *clear); |