ARCHIVE_ENTRY_MISC(3) Library Functions Manual ARCHIVE_ENTRY_MISC(3)

archive_entry_symlink_type, archive_entry_set_symlink_typemiscellaneous functions for manipulating properties of archive_entry

Streaming Archive Library (libarchive, -larchive)

#include <archive_entry.h>

int
archive_entry_symlink_type(struct archive_entry *a);

void
archive_entry_set_symlink_type(struct archive_entry *a, int);

The function () returns and the function () sets the type of the symbolic link stored in an archive entry. These functions have special meaning on operating systems that support multiple symbolic link types (e.g. Microsoft Windows).

Supported values are:

AE_SYMLINK_TYPE_UNDEFINED
Symbolic link target type is not defined (default on unix systems)
AE_SYMLINK_TYPE_FILE
Symbolic link points to a file
AE_SYMLINK_TYPE_DIRECTORY
Symbolic link points to a directory

archive_entry(3), archive_entry_paths(3), archive_entry_stat(3), libarchive(3)

April 15, 2019 macOS 15.0