cc [ flag... ] file... –lstmf [ library... ] #include <libstmf.h> int stmfGetViewResourceList(stmfGuid *logicalUnit, viewResourceList **resourceList);
The identifier of the logical unit to which the views entries are added.
A pointer to a pointer to structure viewResourceList. On successful return, this will contain list of view entry resources.
The stmfGetViewResourceList() function retrieves the list of view resources representing view entries attached to a specified logical unit. The logicalUnit parameter must represent a currently registered STMF logical unit.
The caller should call stmfFreeViewResourceList(3STMF) when resourceList data is no longer needed.
The following values are returned:
The API call was successful.
The specified logical unit does not exist.
See attributes(5) for descriptions of the following attributes: