21 #ifndef OC_NETWORK_EVENTS_H
22 #define OC_NETWORK_EVENTS_H
25 #include "util/oc_process.h"
61 typedef struct oc_message_s oc_message_t;
void oc_network_event(oc_message_t *message)
receive network event
OC_PROCESS_NAME(oc_network_events)
process network events
oc_interface_event_t
network events
@ NETWORK_INTERFACE_DOWN
network interface down
@ NETWORK_INTERFACE_UP
network interface up
void oc_network_interface_event(oc_interface_event_t event)
initiate network event
void(* interface_event_handler_t)(oc_interface_event_t event)
Callback function to pass the network interface up/down infomation to App.
struct oc_network_interface_cb oc_network_interface_cb_t
Structure to manage network interface handler list.
platform abstraction of networking events (mutexes)
Structure to manage network interface handler list.
interface_event_handler_t handler
the callback (handler)
struct oc_network_interface_cb * next
next in the list