diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-09-30 03:53:03 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-09-30 03:53:03 +0000 |
commit | 6902e811f60327dce35d2068d05d85a3c7a345c4 (patch) | |
tree | 7902e535fed29fc4c3fc23e05146625461053f86 /lib/libarchive/archive_entry.h | |
parent | 51dc1b851d697c82dd725789e7d2d156f445b980 (diff) | |
download | FreeBSD-src-6902e811f60327dce35d2068d05d85a3c7a345c4.zip FreeBSD-src-6902e811f60327dce35d2068d05d85a3c7a345c4.tar.gz |
MfP4: Support for storing birthtime in archive_entry objects.
Submitted by: Pedro Giffuni
MFC after: 30 days
Diffstat (limited to 'lib/libarchive/archive_entry.h')
-rw-r--r-- | lib/libarchive/archive_entry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h index 0505c21..4e78dbe 100644 --- a/lib/libarchive/archive_entry.h +++ b/lib/libarchive/archive_entry.h @@ -174,6 +174,9 @@ __LA_DECL struct archive_entry *archive_entry_new(void); __LA_DECL time_t archive_entry_atime(struct archive_entry *); __LA_DECL long archive_entry_atime_nsec(struct archive_entry *); __LA_DECL int archive_entry_atime_is_set(struct archive_entry *); +__LA_DECL time_t archive_entry_birthtime(struct archive_entry *); +__LA_DECL long archive_entry_birthtime_nsec(struct archive_entry *); +__LA_DECL int archive_entry_birthtime_is_set(struct archive_entry *); __LA_DECL time_t archive_entry_ctime(struct archive_entry *); __LA_DECL long archive_entry_ctime_nsec(struct archive_entry *); __LA_DECL int archive_entry_ctime_is_set(struct archive_entry *); @@ -224,6 +227,8 @@ __LA_DECL const wchar_t *archive_entry_uname_w(struct archive_entry *); __LA_DECL void archive_entry_set_atime(struct archive_entry *, time_t, long); __LA_DECL void archive_entry_unset_atime(struct archive_entry *); +__LA_DECL void archive_entry_set_birthtime(struct archive_entry *, time_t, long); +__LA_DECL void archive_entry_unset_birthtime(struct archive_entry *); __LA_DECL void archive_entry_set_ctime(struct archive_entry *, time_t, long); __LA_DECL void archive_entry_unset_ctime(struct archive_entry *); __LA_DECL void archive_entry_set_dev(struct archive_entry *, dev_t); |