netstatus_interface_get_name_server()

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

Synopsis:

#include <bps/netstatus.h>
 
BPS_API const char* netstatus_interface_get_name_server(netstatus_interface_details_t *details,
                                                        int index)

Since:

BlackBerry 10.0.0

Arguments:

details

The netstatus_interface_details_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_interface_get_num_name_servers() - 1.

Library:

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

Description:

The netstatus_interface_get_name_server() function gets the name server at the specified index from the specified netstatus_interface_details_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