group
group__libshare__fslink
Provides the capability to manage symbolic link references to other inodes.
Symbolic Link Management
typedef struct shfs_dirent_t shfs_dirent_t
int shfs_link
(shfs_ino_t *parent, shfs_ino_t *inode)
Link a child inode inside a parent's directory listing.
Note
The birth timestamp and token key is assigned on link.
int shfs_link_find
(shfs_ino_t *parent, shkey_t *key, shfs_block_t *ret_blk)
Find an inode in it's parent using it's key name.
int shfs_link_count
(shfs_ino_t *parent)
Obtain the number of inode's contained by a parent.
void shfs_list_free
(shfs_dirent_t **ent_p)
Frees a list of directory entries.
Param
ent_p
A reference to the array of entries.