Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: Thursday, June 13, 2019
 
 

stmfGetViewResourceList(3STMF)

Name

stmfGetViewResourceList - get a list of view entry resources for currently registered logical unit

Synopsis

cc [ flag... ] file... –lstmf [ library... ]
#include <libstmf.h>

int stmfGetViewResourceList(stmfGuid *logicalUnit,
      viewResourceList **resourceList);

Parameters

logicalUnit

The identifier of the logical unit to which the views entries are added.

resourceList

A pointer to a pointer to structure viewResourceList. On successful return, this will contain list of view entry resources.

Description

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.

Return Values

The following values are returned:

STMF_STATUS_SUCCESS

The API call was successful.

STMF_ERROR_NOT_FOUND

The specified logical unit does not exist.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libstmf(3LIB), stmfFreeViewResourceList(3STMF), attributes(7)