NMVpnConnection
NMVpnConnectionState nm_vpn_connection_get_vpn_state (NMVpnConnection *vpn);
NMVpnConnection *vpn
Gets the current NMVpnConnection state.
vpn
a NMVpnConnection
the VPN state of the active VPN connection.
const char * nm_vpn_connection_get_banner (NMVpnConnection *vpn);
Gets the VPN login banner of the active NMVpnConnection.
the VPN login banner of the VPN connection. This is the internal string used by the connection, and must not be modified.
#define NM_VPN_CONNECTION_VPN_STATE "vpn-state"
#define NM_VPN_CONNECTION_BANNER "banner"