#include <stddef.h>
Go to the source code of this file.
◆ on_connection_state_change_ptr
pointer to a function that will be called when connection state has changed first parameter is the connection that fired the event
◆ on_diagnostic_notification_ptr
pointer to a function that will be called when diagnostic notification will be send first parameter is the connection that fired the event second parameter is the length for the provided array third parameter it the array with tracked diagnostic data
◆ on_diagnostics_available_red_ptr
typedef void(* on_diagnostics_available_red_ptr) (redundancy_mux *, int, int, unsigned long, unsigned long, unsigned long) |
pointer to a function that will be called in a separate thread when diagnostic data is available first parameter is the redundancy multiplexer that fired the event 2nd parameter is N_Diagnose 3rd parameter is N_missed 4th parameter is T_drift 5th parameter is T_drift2 6th parameter is id of redundancy channel where the notification originates
◆ on_disconnection_request_received_ptr
typedef void(* on_disconnection_request_received_ptr) (struct rasta_notification_result *result, unsigned short reason, unsigned short detail) |
pointer to a function that will be called when a DiscReq are received first parameter is the connection that fired the event. second parameter is the reason for this DiscReq third parameter is the detail for this DiscReq
◆ on_handshake_complete_ptr
pointer to a function that will be called when an entity successfully completed the handshake and is now in state UP. first parameter is the connection that fired the event
◆ on_heartbeat_timeout_ptr
pointer to a function that will be called when the T_i timer of an entity expired. first parameter is the connection that fired the event
◆ on_new_connection_ptr
typedef void(* on_new_connection_ptr) (redundancy_mux *, unsigned long) |
pointer to a function that will be called in a separate thread when a new entity has sent data to this entity first parameter is the redundancy multiplexer that fired the event 2nd parameter is id of the new redundancy channel / entity
◆ on_receive_ptr
pointer to a function that will be called when application messages are ready for processing first parameter is the connection that fired the event
◆ redundancy_mux