netstatus_get_interfaces()

Get the network interfaces.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API int netstatus_get_interfaces(netstatus_interface_list_t *interface_list)

Since:

BlackBerry 10.0.0

Arguments:

interface_list

This will be populated with the list of interfaces. The caller must call netstatus_free_interfaces() when done with this structure.

Library:

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

Description:

The netstatus_get_interfaces() function gets all the network interfaces present.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-05-14



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

comments powered by Disqus