|
NAMEarchive_entry_clear ,
archive_entry_clone ,
archive_entry_free ,
archive_entry_new —
functions for managing archive entry descriptions
LIBRARYStreaming Archive Library (libarchive, -larchive)SYNOPSIS#include <archive_entry.h>
struct archive_entry *
struct archive_entry *
void
struct archive_entry *
DESCRIPTIONThese functions create and manipulate data objects that represent entries within an archive. You can think of a struct archive_entry as a heavy-duty version of struct stat: it includes everything from struct stat plus associated pathname, textual group and user names, etc. These objects are used by libarchive(3) to represent the metadata associated with a particular entry in an archive.Create and DestroyThere are functions to allocate, destroy, clear, and copy archive_entry objects:
Function groupsDue to high number of functions, the accessor functions can be found in man pages grouped by the purpose.
Most of the functions set or read entries in an object. Such functions have one of the following forms:
_w . Note that these are
different representations of the same data: For example, if you store a narrow
string and read the corresponding wide string, the object will transparently
convert formats using the current locale. Similarly, if you store a wide
string and then store a narrow string for the same data, the previously-set
wide string will be discarded in favor of the new data.
SEE ALSOarchive_entry_acl(3), archive_entry_paths(3), archive_entry_perms(3), archive_entry_time(3), libarchive(3)HISTORYThelibarchive library first appeared in
FreeBSD 5.3.
AUTHORSThelibarchive library was written by
Tim Kientzle ⟨kientzle@acm.org⟩.
Visit the GSP FreeBSD Man Page Interface. |