netstatus_info_get_default_gateway()
Get the default gateway at the specified index from a network status structure.
Synopsis:
#include <bps/netstatus.h>
BPS_API const char* netstatus_info_get_default_gateway(netstatus_info_t *info, int index)
Since:
BlackBerry 10.2.0
Arguments:
- info
-
The netstatus_info_t structure to get the default gateway from.
- index
-
The index of the default gateway to get. Must be in the range 0 to netstatus_info_get_num_ip_gateways() - 1.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)Description:
The netstatus_info_get_default_gateway() function gets the default gateway at the specified index from the specified netstatus_info_t structure.
Returns:
The default gateway at the specified index, or NULL if the index is invalid.
Last modified: 2014-09-30