STMFGETLOGICALUNITPROPERTIES(3STMF)
SCSI Target Mode Framework Library Functions
NAME
stmfGetLogicalUnitProperties - retrieve the properties of the
specified logical unit
SYNOPSIS
cc [
flag... ]
file...
-lstmf [
library... ]
#include <libstmf.h>
int stmfGetLogicalUnitProperties(
stmfGuid *logicalUnit,
stmfLogicalUnitProperties *logicalUnitProps);
PARAMETERS
logicalUnit The identifier of the logical unit whose
properties are being retrieved.
logicalUnitProps A pointer to an
stmfLogicalUnitProperties structure. On successful return, this will
contain the properties for the specified
logicalUnitOid.
DESCRIPTION
The
stmfGetLogicalUnitProperties() function retrieves the properties
of the specified logical unit.
RETURN VALUES
The following values are returned:
STMF_ERROR_LOGICAL_UNIT_NOT_REGISTERED The
logicalUnit is not a valid registered logical unit in the
system.
STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See
attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Committed |
+--------------------+-----------------+
|MT-Level | Safe |
+--------------------+-----------------+
SEE ALSO
libstmf(3LIB),
attributes(7) June 9, 2008
STMFGETLOGICALUNITPROPERTIES(3STMF)