netstatus_info_get_name_server()

Get the name server at the specified index from a network status structure.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API const char* netstatus_info_get_name_server(netstatus_info_t *info,
                                                   int index)

Since:

BlackBerry 10.2.0

Arguments:

info

The netstatus_info_t structure to get the name server from.

index

The index of the name server to get. Must be in the range 0 to netstatus_info_get_num_name_servers() - 1.

Library:

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

Description:

The netstatus_info_get_name_server() function gets the name server at the specified index from the specified netstatus_info_t structure.

Returns:

The name server at the specified index, or NULL if the index is invalid.

Last modified: 2014-09-30



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

comments powered by Disqus