![]() |
![]() |
![]() |
libnm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
#define NM_VPN_CONNECTION_VPN_STATE #define NM_VPN_CONNECTION_BANNER struct NMVpnConnection; NMVpnConnectionClass; NMVpnConnectionState nm_vpn_connection_get_vpn_state (NMVpnConnection *vpn
); const char * nm_vpn_connection_get_banner (NMVpnConnection *vpn
);
typedef struct { NMActiveConnectionClass parent; /* Signals */ void (*vpn_state_changed) (NMVpnConnection *connection, NMVpnConnectionState state, NMVpnConnectionStateReason reason); } NMVpnConnectionClass;
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. |
"banner"
property "banner" gchar* : Read
The VPN login banner of the active VPN connection.
Default value: NULL
"vpn-state"
property"vpn-state" NMVpnConnectionState : Read
The VPN state of the active VPN connection.
Default value: NM_VPN_CONNECTION_STATE_UNKNOWN
"vpn-state-changed"
signalvoid user_function (NMVpnConnection *nmvpnconnection,
guint arg1,
guint arg2,
gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |