netstatus_info_get_num_name_servers()

Get the number of name servers from a network status structure.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API int netstatus_info_get_num_name_servers(netstatus_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The netstatus_info_t structure to get the info name from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The netstatus_info_get_num_name_servers() function gets the number of name servers from the specified netstatus_info_t structure. The index argument of netstatus_info_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