group
group__libshare__fslist
Provides capabilities to list inode contents such as files in directories.

Inode Indexing

typedef
typedef int(* shfs_list_f)(shfs_ino_t *file, void *arg)
function
int shfs_list
(shfs_ino_t *file, char *fspec, shfs_dirent_t **ent_p)
Obtain a list of inode's contained by the parent.
Param
file
The inode to list the contents of.
fspec
NULL to list all entries or a file-spec format (i.e. "file*name")
Return Value
The number of directory entries returned or a negative libshare error code.
function
int shfs_list_cb
(shfs_ino_t *parent, char *fspec, shfs_list_f cb, void *arg)
define
SHLIST_F
((shfs_list_f)(_f))