From c2de0d98ba39e0a1a970d066fd19be786092f376 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 1 Mar 2016 16:55:22 +0100 Subject: Imported Upstream version 1.1.91 --- docs/libnm/html/NMVpnEditorPlugin.html | 133 +++++++++++++++++++++++---------- 1 file changed, 95 insertions(+), 38 deletions(-) (limited to 'docs/libnm/html/NMVpnEditorPlugin.html') diff --git a/docs/libnm/html/NMVpnEditorPlugin.html b/docs/libnm/html/NMVpnEditorPlugin.html index 61c3c4a4..126ddb6f 100644 --- a/docs/libnm/html/NMVpnEditorPlugin.html +++ b/docs/libnm/html/NMVpnEditorPlugin.html @@ -77,7 +77,7 @@ -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 -gchar * +gchar * service Read @@ -151,7 +151,7 @@ void changed -Run First +Run First @@ -192,9 +192,9 @@

Object Hierarchy

-
    GFlags
+
    GFlags
     ╰── NMVpnEditorPluginCapability
-    GInterface
+    GInterface
     ├── NMVpnEditor
     ╰── NMVpnEditorPlugin
 
@@ -203,7 +203,7 @@

Prerequisites

NMVpnEditor requires - GObject.

+ GObject.

Description

@@ -213,24 +213,51 @@ NMVpnEditor requires

NMVpnEditorPluginFactory ()

NMVpnEditorPlugin *
-(*NMVpnEditorPluginFactory) (GError **error);
+(*NMVpnEditorPluginFactory) (GError **error);

nm_vpn_editor_plugin_factory ()

NMVpnEditorPlugin *
-nm_vpn_editor_plugin_factory (GError **error);
+nm_vpn_editor_plugin_factory (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

+
+++++ + + + + + + + + + + + + + + + + + +

plugin

the NMVpnEditorPlugin

 

connection

the NMConnection to be edited

 

error

on return, an error or NULL

 
+
+
+

Returns

+

a new NMVpnEditor or NULL on error.

[transfer full]

@@ -243,24 +270,54 @@ nm_vpn_editor_plugin_get_capabilities (

nm_vpn_editor_plugin_import ()

-
NMConnection *
+
NMConnection *
 nm_vpn_editor_plugin_import (NMVpnEditorPlugin *plugin,
                              const char *path,
-                             GError **error);
+ GError **error);
+
+

Parameters

+
+++++ + + + + + + + + + + + + + + + + + +

plugin

the NMVpnEditorPlugin

 

path

full path to the file to attempt to read into a new NMConnection

 

error

on return, an error or NULL

 
+
-

Returns

-

.

+

Returns

+

a new NMConnection imported from path +, or NULL +on error or if the file at path +was not recognized by this plugin.

[transfer full]


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);

@@ -268,7 +325,7 @@ nm_vpn_editor_plugin_export (char * nm_vpn_editor_plugin_get_suggested_filename (NMVpnEditorPlugin *plugin, - NMConnection *connection); + NMConnection *connection);

@@ -278,8 +335,8 @@ nm_vpn_editor_plugin_load_from_file (const const char *check_service, int check_owner, NMUtilsCheckFilePredicate check_file, - gpointer user_data, - GError **error); + gpointer user_data, + GError **error);

Load the shared libary plugin_filename and create a new NMVpnEditorPlugin instace via the NMVpnEditorPluginFactory @@ -340,7 +397,7 @@ loading the shared library.

Returns

-

a new plugin instance or NULL on error.

+

a new plugin instance or NULL on error.

[transfer full]

Since: 1.2

@@ -445,14 +502,14 @@ loading the shared library.

-

GTypeInterface g_iface;

+

GTypeInterface g_iface;

the parent interface

 

get_editor ()

returns an NMVpnEditor, pre-filled with values from connection -if non-NULL.

+if non-NULL.

  @@ -463,27 +520,27 @@ if non-NULL.

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.

  @@ -501,7 +558,7 @@ the caller.

Property Details

The “description” property

-
  “description”              gchar *
+
  “description”              gchar *

Longer description of the VPN plugin.

Flags: Read

Default value: NULL

@@ -509,7 +566,7 @@ the caller.


The “name” property

-
  “name”                     gchar *
+
  “name”                     gchar *

Short display name of the VPN plugin.

Flags: Read

Default value: NULL

@@ -517,7 +574,7 @@ the caller.


The “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.

The “changed” signal

void
 user_function (NMVpnEditor *nmvpneditor,
-               gpointer     user_data)
-

Flags: Run First

+ gpointer user_data) +

Flags: Run First

-- cgit 1.3.0-6-gf8a5