netstatus_interface_get_num_ip_addresses()
Get the number of IP addresses from a network interface details structure.
Synopsis:
#include <bps/netstatus.h>
BPS_API int netstatus_interface_get_num_ip_addresses(netstatus_interface_details_t *details)
Since:
BlackBerry 10.0.0
Arguments:
- details
-
The netstatus_interface_details_t structure to get the interface name from.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)Description:
The netstatus_interface_get_num_ip_addresses() function gets the number of IP addresses from the specified netstatus_interface_details_t structure. The index argument of netstatus_interface_get_ip_address() and netstatus_interface_get_ip_address_netmask() must be less than this number.
Returns:
The number of IP addresses.
Last modified: 2014-05-14