1<!-- Creator : groff version 1.22.4 --> 2<!-- CreationDate: Sun Aug 22 23:03:24 2021 --> 3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4"http://www.w3.org/TR/html4/loose.dtd"> 5<html> 6<head> 7<meta name="generator" content="groff -Thtml, see www.gnu.org"> 8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> 9<meta name="Content-Style" content="text/css"> 10<style type="text/css"> 11 p { margin-top: 0; margin-bottom: 0; vertical-align: top } 12 pre { margin-top: 0; margin-bottom: 0; vertical-align: top } 13 table { margin-top: 0; margin-bottom: 0; vertical-align: top } 14 h1 { text-align: center } 15</style> 16<title></title> 17</head> 18<body> 19 20<hr> 21 22 23<p>ARCHIVE_ENTRY_MISC(3) BSD Library Functions Manual 24ARCHIVE_ENTRY_MISC(3)</p> 25 26<p style="margin-top: 1em"><b>NAME</b></p> 27 28 29<p style="margin-left:6%;"><b>archive_entry_symlink_type</b>, 30<b>archive_entry_set_symlink_type</b> — miscellaneous 31functions for manipulating properties of archive_entry</p> 32 33<p style="margin-top: 1em"><b>LIBRARY</b></p> 34 35<p style="margin-left:6%;">Streaming Archive Library 36(libarchive, -larchive)</p> 37 38<p style="margin-top: 1em"><b>SYNOPSIS</b></p> 39 40<p style="margin-left:6%;"><b>#include 41<archive_entry.h></b></p> 42 43<p style="margin-left:6%; margin-top: 1em"><i>int</i></p> 44 45 46<p style="margin-left:12%;"><b>archive_entry_symlink_type</b>(<i>struct archive_entry *a</i>);</p> 47 48<p style="margin-left:6%; margin-top: 1em"><i>void</i></p> 49 50 51<p style="margin-left:12%;"><b>archive_entry_set_symlink_type</b>(<i>struct archive_entry *a</i>, 52<i>int</i>);</p> 53 54<p style="margin-top: 1em"><b>DESCRIPTION</b></p> 55 56<p style="margin-left:6%;">The function 57<b>archive_entry_symlink_type</b>() returns and the function 58<b>archive_entry_set_symlink_type</b>() sets the type of the 59symbolic link stored in an archive entry. These functions 60have special meaning on operating systems that support 61multiple symbolic link types (e.g. Microsoft Windows).</p> 62 63<p style="margin-left:6%; margin-top: 1em">Supported values 64are:</p> 65 66<p>AE_SYMLINK_TYPE_UNDEFINED</p> 67 68<p style="margin-left:41%; margin-top: 1em">Symbolic link 69target type is not defined (default on unix systems)</p> 70 71<p>AE_SYMLINK_TYPE_FILE</p> 72 73<p style="margin-left:41%; margin-top: 1em">Symbolic link 74points to a file</p> 75 76<p>AE_SYMLINK_TYPE_DIRECTORY</p> 77 78<p style="margin-left:41%; margin-top: 1em">Symbolic link 79points to a directory</p> 80 81<p style="margin-top: 1em"><b>SEE ALSO</b></p> 82 83<p style="margin-left:6%;">archive_entry(3), 84archive_entry_paths(3), archive_entry_stat(3), 85libarchive(3)</p> 86 87<p style="margin-left:6%; margin-top: 1em">BSD 88April 15, 2019 BSD</p> 89<hr> 90</body> 91</html> 92