IMA_AddDiscoveryAddress - Adds DiscoveryAddress
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_AddDiscoveryAddress( /* in */ IMA_OID oid, /* in */ const IMA_TARGET_ADDRESS discoveryAddress, /* out */ IMA_OID *pDiscoveryAddressOid );
The object ID of the physical network port (PNP), or logical host bus adapter (LHBA) object to which the discovery address is being added.
The target address of the target to add to the specified PNP objects, or the list of LHBA discovery addresses that are to be used in a send targets discovery session.
Either the pointer to an IMA_OID structure allocated by the caller, or NULL. If this argument is not NULL, then on successful return, this argument contains the object ID of the discovery address added by the IMA_AddDiscoveryAddress() API.
The IMA_AddDiscoveryAddress() API adds a discovery address to be used for send targets discovery by the specified PNP or LHBA object.
Returned if a reboot is necessary before the discovery address is used by the PNP or LHBA in a send targets discovery session.
Returned if send targets discovery is not supported by the specified PNP or LHBA.
Returned if discoveryAddress is NULL, or specifies a memory area from which data cannot be read.
Returned if discoveryAddress specifies an empty structure.
Returned if the pDiscoveryAddressOid argument is not NULL, and specifies a memory area to which data cannot be written.
Returned if the oid argument does not specify a valid object type.
Returned if the oid argument does not specify a PNP or LHBA object.
Returned if the oid argument does not specify a PNP or LHBA known to the system.
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_RemoveDiscoveryAddress(3IMA), IMA_GetDiscoveryAddressProperties(3IMA), IMA_RegisterForObjectVisibilityChanges(3IMA), IMA_GetDiscoveryProperties(3IMA)