Logo
UNICENS V2.3.0-4567
User Manual and API Reference
typedef void(* Ucs_Supv_ReportCb_t)(Ucs_Supv_Report_t code, Ucs_Signature_t *signature_ptr, Ucs_Rm_Node_t *node_ptr, void *user_ptr)

Optional callback function that reports events on found and configured nodes.

Parameters
codeThe report code
signature_ptrReference to the signature announced by the node. This reference is temporary and read-only. You must copy the signature if it is needed after returning from this callback function.
node_ptrOnly if the report code is UCS_SUPV_REP_WELCOMED :
Reference to the node object which is part of the nodes_list_ptr. When the node is notified as welcomed the application may set the init script list of the node structure, before the init script list is executed by the Supervisor. If there is no need to set the init script list dynamically it is recommended to set the init script list of all nodes in the nodes list before UNICENS is initialized.
The node_ptr will be NULL if any other code than UCS_SUPV_REP_WELCOMED is notified.
user_ptrUser reference provided in Ucs_InitData_t::user_ptr.