Retrieve the current network status information.
BPS_API int netstatus_get_info(netstatus_info_t **info)
If this function successfully completes, this pointer is populated with the network status information. The caller must call the netstatus_free_info() function when finished with using the info value. If the function does not complete successfully, the pointer is set to NULL.
Library:libbps (For the qcc command, use the -l bps option to link against this library)
The netstatus_get_info() function gets the current network status information. Details about the network status can be extracted using the netstatus_info_get_*() functions. netstatus_free_info() must be used on the network status information structure when your application is finished using it.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.
Last modified: 2014-05-14