Top |
GDBusConnection * | nm_vpn_plugin_old_get_connection () |
NMVpnServiceState | nm_vpn_plugin_old_get_state () |
void | nm_vpn_plugin_old_set_state () |
void | nm_vpn_plugin_old_secrets_required () |
void | nm_vpn_plugin_old_set_login_banner () |
void | nm_vpn_plugin_old_failure () |
void | nm_vpn_plugin_old_set_ip4_config () |
gboolean | nm_vpn_plugin_old_disconnect () |
gboolean | nm_vpn_plugin_old_read_vpn_details () |
gboolean | nm_vpn_plugin_old_get_secret_flags () |
void | config | Run First |
void | failure | Run First |
void | ip4-config | Run First |
void | ip6-config | Run First |
void | login-banner | Run First |
void | quit | Run First |
void | secrets-required | Run First |
void | state-changed | Run First |
#define | NM_VPN_PLUGIN_OLD_DBUS_SERVICE_NAME |
#define | NM_VPN_PLUGIN_OLD_STATE |
NMVpnPluginOld |
GDBusConnection *
nm_vpn_plugin_old_get_connection (NMVpnPluginOld *plugin
);
nm_vpn_plugin_old_get_connection
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
NMVpnServiceState
nm_vpn_plugin_old_get_state (NMVpnPluginOld *plugin
);
nm_vpn_plugin_old_get_state
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
void nm_vpn_plugin_old_set_state (NMVpnPluginOld *plugin
,NMVpnServiceState state
);
nm_vpn_plugin_old_set_state
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
void nm_vpn_plugin_old_secrets_required (NMVpnPluginOld *plugin
,const char *message
,const char **hints
);
nm_vpn_plugin_old_secrets_required
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
Called by VPN plugin implementations to signal to NetworkManager that secrets are required during the connection process. This signal may be used to request new secrets when the secrets originally provided by NetworkManager are insufficient, or the VPN process indicates that it needs additional information to complete the request.
plugin |
the NMVpnPluginOld |
|
message |
an information message about why secrets are required, if any |
|
hints |
VPN specific secret names for required new secrets |
void nm_vpn_plugin_old_set_login_banner (NMVpnPluginOld *plugin
,const char *banner
);
nm_vpn_plugin_old_set_login_banner
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
void nm_vpn_plugin_old_failure (NMVpnPluginOld *plugin
,NMVpnPluginFailure reason
);
nm_vpn_plugin_old_failure
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
void nm_vpn_plugin_old_set_ip4_config (NMVpnPluginOld *plugin
,GVariant *ip4_config
);
nm_vpn_plugin_old_set_ip4_config
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
gboolean nm_vpn_plugin_old_disconnect (NMVpnPluginOld *plugin
,GError **err
);
nm_vpn_plugin_old_disconnect
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
gboolean nm_vpn_plugin_old_read_vpn_details (int fd
,GHashTable **out_data
,GHashTable **out_secrets
);
nm_vpn_plugin_old_read_vpn_details
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
Parses key/value pairs from a file descriptor (normally stdin) passed by an applet when the applet calls the authentication dialog of the VPN plugin.
fd |
file descriptor to read from, usually stdin (0) |
|
out_data |
on successful return, a hash table (mapping char*:char*) containing the key/value pairs of VPN data items. |
[out][transfer full] |
out_secrets |
on successful return, a hash table (mapping char*:char*) containing the key/value pairsof VPN secrets. |
[out][transfer full] |
gboolean nm_vpn_plugin_old_get_secret_flags (GHashTable *data
,const char *secret_name
,NMSettingSecretFlags *out_flags
);
nm_vpn_plugin_old_get_secret_flags
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
Given a VPN secret key name, attempts to find the corresponding flags data
item in data
. If found, converts the flags data item to
NMSettingSecretFlags and returns it.
“service-name”
property “service-name” char *
The D-Bus service name of this plugin.
NMVpnPluginOld:service-name
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
Owner: NMVpnPluginOld
Flags: Read / Write / Construct Only
Default value: NULL
“state”
property“state” NMVpnServiceState
The state of the plugin.
NMVpnPluginOld:state
has been deprecated since version 1.2 and should not be used in newly-written code.
Replaced by NMVpnServicePlugin.
Owner: NMVpnPluginOld
Flags: Read / Write
Default value: NM_VPN_SERVICE_STATE_INIT
“config”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, GVariant *arg1, gpointer user_data)
Flags: Run First
“failure”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, guint arg1, gpointer user_data)
Flags: Run First
“ip4-config”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, GVariant *arg1, gpointer user_data)
Flags: Run First
“ip6-config”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, GVariant *arg1, gpointer user_data)
Flags: Run First
“login-banner”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, char *arg1, gpointer user_data)
Flags: Run First
“quit”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, gpointer user_data)
Flags: Run First
“secrets-required”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, char *arg1, GStrv arg2, gpointer user_data)
Flags: Run First
“state-changed”
signalvoid user_function (NMVpnPluginOld *nmvpnpluginold, guint arg1, gpointer user_data)
Flags: Run First