libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ afc_make_link()

afc_error_t afc_make_link ( afc_client_t client,
afc_link_type_t linktype,
const char * target,
const char * linkname )

Creates a hard link or symbolic link on the device.

Parameters
clientThe client to use for making a link
linktype1 = hard link, 2 = symlink
targetThe file to be linked.
linknameThe name of link.
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.