23 #ifndef OC_NETWORK_HELPERS_H
24 #define OC_NETWORK_HELPERS_H
network events (network interfaces going up/down)
void(* interface_event_handler_t)(oc_interface_event_t event)
Callback function to pass the network interface up/down infomation to App.
int oc_add_session_event_callback(session_event_handler_t cb)
Add the callback to receive change notifications for Network interface event.
int oc_remove_session_event_callback(session_event_handler_t cb)
Remove the callback to receive change notifications for Network interface event.
int oc_remove_network_interface_event_callback(interface_event_handler_t cb)
Remove the callback to receive change notifications for Network interface event.
int oc_add_network_interface_event_callback(interface_event_handler_t cb)
Add the callback to receive change notifications for Network interface event.
void(* session_event_handler_t)(const oc_endpoint_t *endpoint, oc_session_state_t state)
Callback function to pass the session event information to the Application.