IMA_GetAddressKeys - Gets the address keys of a target
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetAddressKeys( /* in */ IMA_OID targetOid, /* out */ IMA_ADDRESS_KEYS **ppKeys );
The object ID of the target whose address keys are being retrieved.
A pointer to a pointer to an IMA_ADDRESS_KEYS data structure allocated by the caller.
If successfully returned, this argument contains a pointer to an IMA_ADDRESS_KEYS data structure.
The IMA_GetAddressKeys() API gets the address keys of a target.
Returned if the ppKeys 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 fails to respond to an iSCSI discovery session creation from an initiator.
See attributes(7) for descriptions of the following attributes:
|