| 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.
typedef struct {
NMActiveConnectionClass parent;
/* Signals */
void (*vpn_state_changed) (NMVPNConnection *connection,
NMVPNConnectionState state,
NMVPNConnectionStateReason reason);
/* Padding for future expansion */
void (*_reserved1) (void);
void (*_reserved2) (void);
void (*_reserved3) (void);
void (*_reserved4) (void);
void (*_reserved5) (void);
void (*_reserved6) (void);
} NMVPNConnectionClass;
“banner” property “banner” gchar *
The VPN login banner of the active VPN connection.
Flags: Read
Default value: NULL
“vpn-state-changed” signalvoid user_function (NMVPNConnection *nmvpnconnection, guint arg1, guint arg2, gpointer user_data)
nmvpnconnection |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First