1ARCHIVE_ENTRY_MISC(3) BSD Library Functions Manual ARCHIVE_ENTRY_MISC(3)
2
4 archive_entry_symlink_type, archive_entry_set_symlink_type — miscella‐
5 neous functions for manipulating properties of archive_entry
6
8 Streaming Archive Library (libarchive, -larchive)
9
11 #include <archive_entry.h>
12
13 int
14 archive_entry_symlink_type(struct archive_entry *a);
15
16 void
17 archive_entry_set_symlink_type(struct archive_entry *a, int);
18
20 The function archive_entry_symlink_type() returns and the function
21 archive_entry_set_symlink_type() sets the type of the symbolic link
22 stored in an archive entry. These functions have special meaning on
23 operating systems that support multiple symbolic link types (e.g. Micro‐
24 soft Windows).
25
26 Supported values are:
27 AE_SYMLINK_TYPE_UNDEFINED Symbolic link target type is not defined
28 (default on unix systems)
29 AE_SYMLINK_TYPE_FILE Symbolic link points to a file
30 AE_SYMLINK_TYPE_DIRECTORY Symbolic link points to a directory
31
33 archive_entry(3), archive_entry_paths(3), archive_entry_stat(3),
34 libarchive(3)
35
36BSD April 15, 2019 BSD