From c2de0d98ba39e0a1a970d066fd19be786092f376 Mon Sep 17 00:00:00 2001
From: Michael Biebl
NMVpnEditor requires
- GObject. . plugin connection the NMConnection to be edited error on return, an error or plugin path full path to the file to attempt to read into a new NMConnection error on return, an error or . a new NMConnection imported from [transfer full] Load the shared libary a new plugin instance or a new plugin instance or [transfer full] Since: 1.2
-NMConnection *
+NMConnection *
nm_vpn_editor_plugin_import ()
@@ -85,7 +85,7 @@
-gboolean
+gboolean
nm_vpn_editor_plugin_export ()
@@ -121,19 +121,19 @@
-gchar *
+gchar *
description
Read
-gchar *
+gchar *
name
Read
@@ -151,7 +151,7 @@
-gchar *
+gchar *
service
Read
@@ -192,9 +192,9 @@
void
changed
-Run First
+Run First
Object Hierarchy
- GFlags
+
GFlags
╰── NMVpnEditorPluginCapability
- GInterface
+ GInterface
├── NMVpnEditor
╰── NMVpnEditorPlugin
@@ -203,7 +203,7 @@
Prerequisites
Description
@@ -213,24 +213,51 @@ NMVpnEditor requires
NMVpnEditorPluginFactory ()
NMVpnEditorPlugin *
-(*NMVpnEditorPluginFactory) (
+(*NMVpnEditorPluginFactory) (GError **error);GError **error);
nm_vpn_editor_plugin_factory ()
NMVpnEditorPlugin *
-nm_vpn_editor_plugin_factory (
+nm_vpn_editor_plugin_factory (GError **error);GError **error);
nm_vpn_editor_plugin_get_editor ()
NMVpnEditor *
nm_vpn_editor_plugin_get_editor (
+ NMVpnEditorPlugin *plugin,
- NMConnection *connection,
- GError **error);NMConnection *connection,
+ GError **error);
Returns
-Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+NULL
+
nm_vpn_editor_plugin_import ()
-NMConnection *
+
+NMConnection *
nm_vpn_editor_plugin_import (
+ NMVpnEditorPlugin *plugin,
const char *path,
- GError **error);GError **error);Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+NULL
+Returns
-Returns
+path
+, or NULL
+on error or if the file at path
+was not recognized by this plugin.
nm_vpn_editor_plugin_export ()
-gboolean
+
gboolean
nm_vpn_editor_plugin_export (
+ NMVpnEditorPlugin *plugin,
const char *path,
- NMConnection *connection,
- GError **error);NMConnection *connection,
+ GError **error);
char *
nm_vpn_editor_plugin_get_suggested_filename
(NMVpnEditorPlugin *plugin,
- NMConnection *connection);
+ NMConnection *connection);
const ,
const char *check_serviceint check_owner,
NMUtilsCheckFilePredicate check_file,
- gpointer user_data,
- GError **error);
+ gpointer user_data,
+ GError **error);
plugin_filename
and create a new
NMVpnEditorPlugin instace via the NMVpnEditorPluginFactory
@@ -340,7 +397,7 @@ loading the shared library. Returns
-NULL on error. NULL on error.
GTypeInterface g_iface;
the parent interface
returns an NMVpnEditor, pre-filled with values from connection
-if non-NULL.
NULL.
NULL.
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 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.
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.
“description” property “description” gchar *
+“description” gchar *
Longer description of the VPN plugin.
Flags: Read
Default value: NULL
@@ -509,7 +566,7 @@ the caller.“name” property “name” gchar *
+“name” gchar *
Short display name of the VPN plugin.
Flags: Read
Default value: NULL
@@ -517,7 +574,7 @@ the caller.“service” property “service” gchar *
+“service” gchar *
D-Bus service name of the plugin's VPN service.
Flags: Read
Default value: NULL
@@ -529,8 +586,8 @@ the caller.“changed” signalvoid user_function (NMVpnEditor *nmvpneditor, - gpointer user_data)-
Flags: Run First
+ gpointer user_data) +Flags: Run First