Returns
a new NMConnection imported from path
-, or NULL
+, or NULL
on error or if the file at path
was not recognized by this plugin.
[transfer full]
@@ -395,11 +400,11 @@ was not recognized by this plugin.
Returns
-
a new plugin instance or NULL on error.
+
a new plugin instance or NULL on error.
[transfer full]
Since: 1.2
@@ -493,7 +498,7 @@ loading the shared library.
NMVpnEditorPlugin *
nm_vpn_editor_plugin_load (const char *plugin_name,
const char *check_service,
- GError **error);
+ GError **error);
Load the shared libary plugin_name
and create a new
NMVpnEditorPlugin instace via the NMVpnEditorPluginFactory
@@ -534,7 +539,7 @@ the given service.
Returns
-
a new plugin instance or NULL on error.
+
a new plugin instance or NULL on error.
[transfer full]
Since: 1.4
@@ -542,7 +547,7 @@ the given service.
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);
@@ -707,8 +712,8 @@ 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. |
+returns an NMVpnEditor, pre-filled with values from connection
+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;
+
+
+
NMVpnPluginInfo
+
typedef struct {
+ NM_AVAILABLE_IN_1_2
+ GObject parent;
+} NMVpnPluginInfo;
+
+
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
@@ -800,13 +814,13 @@ the plugin, without requiring to update libnm. Used by
The “changed” signal
void
-user_function (NMVpnEditor *nmvpneditor,
- gpointer user_data)
-
Flags: Run First
+user_function (
NMVpnEditor *nmvpneditor,
+
gpointer user_data)
+
Flags: Run First
+
Generated by GTK-Doc V1.28