| Top |
| GObject * | nm_vpn_connection_new () |
| NMVPNConnectionState | nm_vpn_connection_get_vpn_state () |
| const char * | nm_vpn_connection_get_banner () |
GObject * nm_vpn_connection_new (DBusGConnection *connection,const char *path);
Creates a new NMVPNConnection.
NMVPNConnectionState
nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn);
Gets the current NMVPNConnection state.
const char *
nm_vpn_connection_get_banner (NMVPNConnection *vpn);
Gets the VPN login banner of the active NMVPNConnection.
“banner” property“banner” gchar *
The VPN login banner of the active VPN connection.
Flags: Read
Default value: NULL
“vpn-state” property“vpn-state” guint
The VPN state of the active VPN connection.
Flags: Read
Allowed values: <= 7
Default value: 0
“vpn-state-changed” signalvoid user_function (NMVPNConnection *nmvpnconnection, guint arg1, guint arg2, gpointer user_data)
Flags: Run First