The HBA_TARGET_CALLBACK routine prototype declares a user routine that is called to notify the user of target events.
typedef void (*HBA_TARGET_CALLBACK)( void *data, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, HBA_UINT32 eventType );
Pointer to a buffer that contains data that the user provided when registering this callback routine and that is passed to the handler when a port event occurs. This data correlates the event with the source of the event registration.
Contains a 64-bit worldwide name (WWN) that uniquely identifies the local HBA port from which the target was discovered. For a discussion of worldwide names, see the T11 committee's Fibre Channel HBA API specification.
Contains a 64-bit WWN that uniquely identifies the remote HBA port from which target events are reported.
Indicates the event type. The values assigned to this member correspond to the values associated with the EVENT_TYPE_QUALIFIERS property qualifier. In particular, this member should have one of the following values.
Returned if the target event is unknown.
Returned if operational use of a target port has become impossible.
Returned if operational use of a target port has been restored.
Returned if a target port has been removed from the fabric.
The HBA_TARGET_CALLBACK routine prototype declares the callback routine registered by HBA_RegisterForTargetEvents.
Build date: 11/16/2013