aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_entry.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-06-27 23:16:42 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-06-27 23:16:42 +0000
commit4660ecd1dcf195cf24ec9f81da3949b1d5d61e13 (patch)
tree2e600a07cf5a2831efef2f112c7038347d963e15 /lib/libarchive/archive_entry.h
parent6324e64978ecc71c7646bc8ad3a28371b11fe6ac (diff)
Add two new convenience functions to query the uid/gid from an
archive_entry. Update the Makefile MLINKS and manpage to bring it up-to-date with the current status of archive_entry. At least the manpage actually lists all of the functions now, even if it doesn't really yet explain them all.
Notes
Notes: svn path=/head/; revision=131211
Diffstat (limited to 'lib/libarchive/archive_entry.h')
-rw-r--r--lib/libarchive/archive_entry.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libarchive/archive_entry.h b/lib/libarchive/archive_entry.h
index b725a3b9fd1c..9feb6d45dd72 100644
--- a/lib/libarchive/archive_entry.h
+++ b/lib/libarchive/archive_entry.h
@@ -47,8 +47,6 @@
* such extensions may make this library useful for special
* applications (e.g., a package manager could attach special
* package-management attributes to each entry).
- *
- * TODO: Design a good API for handling sparse files.
*/
struct archive_entry;
@@ -67,9 +65,10 @@ struct archive_entry *archive_entry_new(void);
*/
dev_t archive_entry_dev(struct archive_entry *);
-const char *archive_entry_fflags_text(struct archive_entry *);
void archive_entry_fflags(struct archive_entry *,
unsigned long *set, unsigned long *clear);
+const char *archive_entry_fflags_text(struct archive_entry *);
+gid_t archive_entry_gid(struct archive_entry *);
const char *archive_entry_gname(struct archive_entry *);
const char *archive_entry_hardlink(struct archive_entry *);
ino_t archive_entry_ino(struct archive_entry *);
@@ -84,6 +83,7 @@ dev_t archive_entry_rdevminor(struct archive_entry *);
int64_t archive_entry_size(struct archive_entry *);
const struct stat *archive_entry_stat(struct archive_entry *);
const char *archive_entry_symlink(struct archive_entry *);
+uid_t archive_entry_uid(struct archive_entry *);
const char *archive_entry_uname(struct archive_entry *);
/*