nm_vpn_editor_plugin_get_plugin_info ()
-
struct _NMVpnPluginInfo *
+NMVpnPluginInfo *
nm_vpn_editor_plugin_get_plugin_info (NMVpnEditorPlugin *plugin);
Parameters
@@ -561,7 +566,7 @@ nm_vpn_editor_plugin_get_plugin_info (
Returns
-if set, return the NMVpnPluginInfo instance.
+if set, return the NMVpnPluginInfo instance.
[transfer none]
Since: 1.4
@@ -571,7 +576,7 @@ nm_vpn_editor_plugin_get_plugin_info (nm_vpn_editor_plugin_set_plugin_info ()
void
nm_vpn_editor_plugin_set_plugin_info (NMVpnEditorPlugin *plugin,
- struct _NMVpnPluginInfo *plugin_info);
+ NMVpnPluginInfo *plugin_info);
Set or clear the plugin-info instance.
This takes a weak reference on plugin_info
, to avoid circular
@@ -592,7 +597,7 @@ reference as the plugin-info might also reference the editor-plugin.
plugin_info |
-a NMVpnPluginInfo instance or NULL. |
+a NMVpnPluginInfo instance or NULL. |
[allow-none] |
@@ -689,7 +694,7 @@ reference as the plugin-info might also reference the editor-plugin.
char * (*get_suggested_filename) (NMVpnEditorPlugin *plugin, NMConnection *connection);
void (*notify_plugin_info_set) (NMVpnEditorPlugin *plugin,
- struct _NMVpnPluginInfo *plugin_info);
+ NMVpnPluginInfo *plugin_info);
const NMVpnEditorPluginVT *(*get_vt) (NMVpnEditorPlugin *plugin,
gsize *out_vt_size);
@@ -708,7 +713,7 @@ reference as the plugin-info might also reference the editor-plugin.
get_editor ()
|
returns an NMVpnEditor, pre-filled with values from connection
-if non-NULL. |
+if non-NULL.
|
@@ -719,27 +724,27 @@ if non-import_from_file ()
Try to import a connection from the specified path. On
-success, return a partial NMConnection object. On error, return NULL and
+success, return a partial NMConnection object. On error, return NULL and
set error
with additional information. Note that error
-can be NULL, in
+can be NULL, in
which case no additional error information should be provided. |
|
export_to_file ()
|
Export the given connection to the specified path. Return
-TRUE on success. On error, return FALSE and set error
+TRUE on success. On error, return FALSE and set error
with additional
error information. Note that error
-can be NULL, in which case no
+can be NULL, in which case no
additional error information should be provided. |
|
get_suggested_filename ()
|
For a given connection, return a suggested file
-name. Returned value will be NULL or a suggested file name to be freed by
+name. Returned value will be NULL or a suggested file name to be freed by
the caller. |
|
@@ -768,12 +773,21 @@ the plugin, without requiring to update libnm. Used by
NMVpnEditorPluginVT
typedef struct _NMVpnEditorPluginVT NMVpnEditorPluginVT;
+
Property Details
The “description” property
-
“description” gchar *
+
“description” gchar *
Longer description of the VPN plugin.
Flags: Read
Default value: NULL
@@ -781,7 +795,7 @@ the plugin, without requiring to update libnm. Used by
The “name” property
-
“name” gchar *
+
“name” gchar *
Short display name of the VPN plugin.
Flags: Read
Default value: NULL
@@ -789,7 +803,7 @@ the plugin, without requiring to update libnm. Used by
The “service” property
-
“service” gchar *
+
“service” gchar *
D-Bus service name of the plugin's VPN service.
Flags: Read
Default value: NULL
@@ -801,12 +815,12 @@ the plugin, without requiring to update libnm. Used by
The “changed” signal
void
user_function (NMVpnEditor *nmvpneditor,
- gpointer user_data)
-
Flags: Run First
+
gpointer user_data)
+
Flags: Run First
+