IMA_AddStaticDiscoveryTarget - Adds a target to be statically discovered
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_AddStaticDiscoveryTarget( /* in */ IMA_OID oid, /* in */ const IMA_STATIC_DISCOVERY_TARGET staticDiscoveryTarget, /* out */ IMA_OID *pStaticDiscoveryTargetOid );
The object ID of the physical network port (PNP) or logical host bus adapter (LHBA) object to which the target to be discovered is added.
The name and address of the target to add to the specified PNP's
The name and address of the list of LHBA targets that are to be statically discovered.
Either a pointer to an IMA_OID structure allocated by the caller or NULL. If not NULL, when successfully returned, this argument contains the object ID of the static discovery target added by the API.
The IMA_AddStaticDiscoveryTarget() API adds a target to be statically discovered by the specified PNP or LHBA object.
Returned if a reboot is necessary before discovery of the specified target takes effect
Returned if static target discovery is not supported by the specified PNP or LHBA object
Returned if the staticDiscoveryTarget argument is NULL, or specifies a memory area from which data cannot be read
Returned if the staticDiscoveryTarget argument specifies an empty structure
Returned if the pStaticDiscoveryTargetOid 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 object known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_RemoveStaticDiscoveryTarget(3IMA), IMA_GetStaticDiscoveryTargetProperties(3IMA), IMA_RegisterForObjectVisibilityChanges(3IMA), IMA_GetDiscoveryProperties(3IMA), IMA_SetStaticDiscovery(3IMA)