| libnm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define NM_VPN_CONNECTION_VPN_STATE #define NM_VPN_CONNECTION_BANNER GObject * nm_vpn_connection_new (DBusGConnection *connection,const char *path); NMVPNConnectionState nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn); const char * nm_vpn_connection_get_banner (NMVPNConnection *vpn);
GObject * nm_vpn_connection_new (DBusGConnection *connection,const char *path);
Creates a new NMVPNConnection.
|
the DBusGConnection |
|
the DBus object path of the new connection |
Returns : |
a new connection object. [transfer full] |
NMVPNConnectionState nm_vpn_connection_get_vpn_state (NMVPNConnection *vpn);
Gets the current NMVPNConnection state.
|
a NMVPNConnection |
Returns : |
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.
|
a NMVPNConnection |
Returns : |
the VPN login banner of the VPN connection. This is the internal string used by the connection, and must not be modified. |