netstatus_interface_get_num_name_servers()

Get the number of name servers from a network interface details structure.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API int netstatus_interface_get_num_name_servers(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_name_servers() function gets the number of name servers from the specified netstatus_interface_details_t structure. The index argument of netstatus_interface_get_name_server() must be less than this number.

Returns:

The number of name servers.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus