Get the network interfaces.
#include <bps/netstatus.h>
BPS_API int netstatus_get_interfaces(netstatus_interface_list_t *interface_list)
BlackBerry 10.0.0
This will be populated with the list of interfaces. The caller must call netstatus_free_interfaces() when done with this structure.
The netstatus_get_interfaces() function gets all the network interfaces present.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.