IMA_GetTargetProperties - Gets the properties of a specified target
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetTargetProperties( /* in */ IMA_OID targetOid, /* out */ IMA_TARGET_PROPERTIES *pProps );
The object ID of the target whose properties are being retrieved.
A pointer to an IMA_TARGET_PROPERTIES data structure allocated by the caller. If returned successfully, this data structure contains the properties of the specified target.
The IMA_GetTargetProperties() API gets the properties of a specified target.
Returned if the pProps argument is NULL, or specifies a memory area to which data cannot be written
Returned if the targetOid argument does not specify a valid object type
Returned if the targetOid argument does not specify a target object
Returned if the targetOid argument does not specify a target known to the system
Returned if the target failed to respond to an iSCSI login request from an initiator
Returned if the target rejected an iSCSI login request from an initiator
See attributes(7) for descriptions of the following attributes:
|