summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_entry.3
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2004-06-27 23:16:42 +0000
committerkientzle <kientzle@FreeBSD.org>2004-06-27 23:16:42 +0000
commit36a1ffc19fdb2f673d50d56144bf6e6e177efdc4 (patch)
tree2e600a07cf5a2831efef2f112c7038347d963e15 /lib/libarchive/archive_entry.3
parentbac8cc2a430f9c92e42c0e8b79eac42b782d818f (diff)
downloadFreeBSD-src-36a1ffc19fdb2f673d50d56144bf6e6e177efdc4.zip
FreeBSD-src-36a1ffc19fdb2f673d50d56144bf6e6e177efdc4.tar.gz
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.
Diffstat (limited to 'lib/libarchive/archive_entry.3')
-rw-r--r--lib/libarchive/archive_entry.382
1 files changed, 64 insertions, 18 deletions
diff --git a/lib/libarchive/archive_entry.3 b/lib/libarchive/archive_entry.3
index e128b6c..a0eba79 100644
--- a/lib/libarchive/archive_entry.3
+++ b/lib/libarchive/archive_entry.3
@@ -28,27 +28,41 @@
.Dt archive_entry 3
.Os
.Sh NAME
+.Nm archive_entry_acl_add_entry
+.Nm archive_entry_acl_add_entry_w
+.Nm archive_entry_acl_clear
+.Nm archive_entry_acl_count
+.Nm archive_entry_acl_next
+.Nm archive_entry_acl_next_w
+.Nm archive_entry_acl_reset
+.Nm archive_entry_acl_text_w
.Nm archive_entry_clear
.Nm archive_entry_clone
.Nm archive_entry_copy_fflags_text_w
.Nm archive_entry_copy_gname_w
+.Nm archive_entry_copy_hardlink
.Nm archive_entry_copy_hardlink_w
.Nm archive_entry_copy_pathname_w
.Nm archive_entry_copy_stat
.Nm archive_entry_copy_symlink_w
.Nm archive_entry_copy_uname_w
+.Nm archive_entry_dev
.Nm archive_entry_fflags
.Nm archive_entry_fflags_text
.Nm archive_entry_free
+.Nm archive_entry_gid
.Nm archive_entry_gname
-.Nm archive_entry_gname_w
.Nm archive_entry_hardlink
-.Nm archive_entry_hardlink_w
+.Nm archive_entry_ino
+.Nm archive_entry_mode
+.Nm archive_entry_mtime
+.Nm archive_entry_mtime_nsec
.Nm archive_entry_new
.Nm archive_entry_pathname
.Nm archive_entry_pathname_w
-.Nm archive_entry_set_devmajor
-.Nm archive_entry_set_devminor
+.Nm archive_entry_rdev
+.Nm archive_entry_rdevmajor
+.Nm archive_entry_rdevminor
.Nm archive_entry_set_fflags
.Nm archive_entry_set_gid
.Nm archive_entry_set_gname
@@ -56,19 +70,37 @@
.Nm archive_entry_set_link
.Nm archive_entry_set_mode
.Nm archive_entry_set_pathname
+.Nm archive_entry_set_rdevmajor
+.Nm archive_entry_set_rdevminor
+.Nm archive_entry_set_size
.Nm archive_entry_set_symlink
.Nm archive_entry_set_uid
.Nm archive_entry_set_uname
.Nm archive_entry_size
.Nm archive_entry_stat
.Nm archive_entry_symlink
-.Nm archive_entry_symlink_w
+.Nm archive_entry_uid
.Nm archive_entry_uname
-.Nm archive_entry_uname_w
.Nd functions for manipulating archive entry descriptions
.Sh SYNOPSIS
.In archive_entry.h
.Ft void
+.Fn archive_entry_acl_add_entry "struct archive_entry *" "int type" "int permset" "int tag" "int qual" "const char *name"
+.Ft void
+.Fn archive_entry_acl_add_entry_w "struct archive_entry *" "int type" "int permset" "int tag" "int qual" "const wchar_t *name"
+.Ft void
+.Fn archive_entry_acl_clear "struct archive_entry *"
+.Ft int
+.Fn archive_entry_acl_count "struct archive_entry *" "int type"
+.Ft int
+.Fn archive_entry_acl_next "struct archive_entry *" "int want_type" "int *type" "int *permset" "int *tag" "int *qual" "const char **name"
+.Ft int
+.Fn archive_entry_acl_next_w "struct archive_entry *" "int want_type" "int *type" "int *permset" "int *tag" "int *qual" "const wchar_t **name"
+.Ft void
+.Fn archive_entry_acl_reset "struct archive_entry *"
+.Ft const wchar_t *
+.Fn archive_entry_acl_text_w "struct archive_entry *" "int flags"
+.Ft void
.Fn archive_entry_clear "struct archive_entry *"
.Ft struct archive_entry *
.Fn archive_entry_clone "struct archive_entry *"
@@ -77,6 +109,8 @@
.Ft void
.Fn archive_entry_copy_gname_w "struct archive_entry *" "const wchar_t *"
.Ft void
+.Fn archive_entry_copy_hardlink "struct archive_entry *" "const char *"
+.Ft void
.Fn archive_entry_copy_hardlink_w "struct archive_entry *" "const wchar_t *"
.Ft void
.Fn archive_entry_copy_pathname_w "struct archive_entry *" "const wchar_t *"
@@ -86,6 +120,8 @@
.Fn archive_entry_copy_symlink_w "struct archive_entry *" "const wchar_t *"
.Ft void
.Fn archive_entry_copy_uname_w "struct archive_entry *" "const wchar_t *"
+.Ft dev_t
+.Fn archive_entry_dev "struct archive_entry *"
.Ft void
.Fn archive_entry_fflags "struct archive_entry *" "unsigned long *set" "unsigned long *clear"
.Ft const char *
@@ -94,22 +130,28 @@
.Fn archive_entry_free "struct archive_entry *"
.Ft const char *
.Fn archive_entry_gname "struct archive_entry *"
-.Ft const wchar_t *
-.Fn archive_entry_gname_w "struct archive_entry *"
.Ft const char *
.Fn archive_entry_hardlink "struct archive_entry *"
-.Ft const wchar_t *
-.Fn archive_entry_hardlink_w "struct archive_entry *"
+.Ft ino_t
+.Fn archive_entry_ino "struct archive_entry *"
+.Ft mode_t
+.Fn archive_entry_mode "struct archive_entry *"
+.Ft time_t
+.Fn archive_entry_mtime "struct archive_entry *"
+.Ft long
+.Fn archive_entry_mtime_nsec "struct archive_entry *"
.Ft struct archive_entry *
.Fn archive_entry_new "void"
.Ft const char *
.Fn archive_entry_pathname "struct archive_entry *"
.Ft const wchar_t *
.Fn archive_entry_pathname_w "struct archive_entry *"
-.Ft void
-.Fn archive_entry_set_devmajor "struct archive_entry *" "dev_t"
-.Ft void
-.Fn archive_entry_set_devminor "struct archive_entry *" "dev_t"
+.Ft dev_t
+.Fn archive_entry_rdev "struct archive_entry *"
+.Ft dev_t
+.Fn archive_entry_rdevmajor "struct archive_entry *"
+.Ft dev_t
+.Fn archive_entry_rdevminor "struct archive_entry *"
.Ft void
.Fn archive_entry_set_fflags "struct archive_entry *" "unsigned long set" "unsigned long clear"
.Ft void
@@ -119,10 +161,18 @@
.Ft void
.Fn archive_entry_set_hardlink "struct archive_entry *" "const char *"
.Ft void
+.Fn archive_entry_set_link "struct archive_entry *" "const char *"
+.Ft void
.Fn archive_entry_set_mode "struct archive_entry *" "mode_t"
.Ft void
.Fn archive_entry_set_pathname "struct archive_entry *" "const char *"
.Ft void
+.Fn archive_entry_set_rdevmajor "struct archive_entry *" "dev_t"
+.Ft void
+.Fn archive_entry_set_rdevminor "struct archive_entry *" "dev_t"
+.Ft void
+.Fn archive_entry_set_size "struct archive_entry *" "int64_t"
+.Ft void
.Fn archive_entry_set_symlink "struct archive_entry *" "const char *"
.Ft void
.Fn archive_entry_set_uid "struct archive_entry *" "uid_t"
@@ -134,12 +184,8 @@
.Fn archive_entry_stat "struct archive_entry *"
.Ft const char *
.Fn archive_entry_symlink "struct archive_entry *"
-.Ft const wchar_t *
-.Fn archive_entry_symlink_w "struct archive_entry *"
.Ft const char *
.Fn archive_entry_uname "struct archive_entry *"
-.Ft const wchar_t *
-.Fn archive_entry_uname_w "struct archive_entry *"
.Sh DESCRIPTION
These functions create and manipulate data objects that
represent entries within an archive.
OpenPOWER on IntegriCloud