netstatus_get_default_interface()

This function has been deprecated.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API int netstatus_get_default_interface(char **interface) BPS_DEPRECATED

Since:

BlackBerry 10.2.0

Arguments:

interface

This will be populated with the default interface. May be NULL if there is no default interface. The caller must call bps_free() when done with this string.

Library:

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

Description:

Deprecated:

This function has been deprecated - use netstatus_get_info(), netstatus_info_get_default_interface() and netstatus_free_info().

The netstatus_get_default_interface() function gets the default interface.

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