Monero
Loading...
Searching...
No Matches
getconnstatus.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int get_wan_connection_status (const char *ifname)
const char * get_wan_connection_status_str (const char *ifname)

Function Documentation

◆ get_wan_connection_status()

int get_wan_connection_status ( const char * ifname)

get the connection status return values : 0 - Unconfigured 1 - Connecting 2 - Connected 3 - PendingDisconnect 4 - Disconnecting 5 - Disconnected

◆ get_wan_connection_status_str()

const char * get_wan_connection_status_str ( const char * ifname)

return the same value as get_wan_connection_status() as a C string