From f75dd6fd1975146623052b843b182dc32c3fbe46 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 8 Apr 2011 07:30:59 +0200 Subject: Imported Upstream version 0.8.998 --- docs/libnm-glib/html/NMRemoteConnection.html | 305 +++++++++++++++++++++++---- 1 file changed, 268 insertions(+), 37 deletions(-) (limited to 'docs/libnm-glib/html/NMRemoteConnection.html') diff --git a/docs/libnm-glib/html/NMRemoteConnection.html b/docs/libnm-glib/html/NMRemoteConnection.html index be3b10b0..07e3564b 100644 --- a/docs/libnm-glib/html/NMRemoteConnection.html +++ b/docs/libnm-glib/html/NMRemoteConnection.html @@ -3,19 +3,19 @@ NMRemoteConnection - + - + - + - + @@ -27,12 +27,12 @@  |  Object Hierarchy  |  - Implemented Interfaces -  |  Properties +  |  + Signals -
+
@@ -41,55 +41,100 @@
-
+ -
+

Object Hierarchy

   GObject
-   +----NMConnection
+   +----NMConnection
          +----NMRemoteConnection
 
-
-

Implemented Interfaces

-

-NMRemoteConnection implements - NMSettingsConnectionInterface.

-
-
+

Properties

   "bus"                      DBusGConnection*      : Write / Construct Only
   "init-result"              guint                 : Read
 
-
+
+

Signals

+
+  "removed"                                        : Run First
+  "updated"                                        : Run First
+  "visible"                                        : Run First
+
+
+

Description

-
+

Details

-
+
+

NM_REMOTE_CONNECTION_UPDATED

+
#define NM_REMOTE_CONNECTION_UPDATED         "updated"
+
+

+

+
+
+
+

NM_REMOTE_CONNECTION_REMOVED

+
#define NM_REMOTE_CONNECTION_REMOVED         "removed"
+
+

+

+
+
+

NMRemoteConnection

typedef struct _NMRemoteConnection NMRemoteConnection;


-
+

NMRemoteConnectionClass

typedef struct {
 	NMConnectionClass parent_class;
 
+	/* Signals */
+	void (*updated) (NMRemoteConnection *connection,
+	                 GHashTable *new_settings);
+
+	void (*removed) (NMRemoteConnection *connection);
+
 	/* Padding for future expansion */
 	void (*_reserved1) (void);
 	void (*_reserved2) (void);
@@ -103,10 +148,37 @@ NMRemoteConnection implements
 


-
+
+

NMRemoteConnectionCommitFunc ()

+
void                (*NMRemoteConnectionCommitFunc)     (NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

+
+
+
+

NMRemoteConnectionDeleteFunc ()

+
void                (*NMRemoteConnectionDeleteFunc)     (NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

+
+
+
+

NMRemoteConnectionGetSecretsFunc ()

+
void                (*NMRemoteConnectionGetSecretsFunc) (NMRemoteConnection *connection,
+                                                         GHashTable *secrets,
+                                                         GError *error,
+                                                         gpointer user_data);
+

+

+
+
+

nm_remote_connection_new ()

NMRemoteConnection * nm_remote_connection_new           (DBusGConnection *bus,
-                                                         NMConnectionScope scope,
                                                          const char *path);

Creates a new object representing the remote connection. @@ -116,38 +188,125 @@ Creates a new object representing the remote connection.

bus :

-a valid and connected D-Bus connection +a valid and connected D-Bus connection + + +

path :

+the D-Bus path of the connection as exported by the settings service + + +

Returns :

+the new remote connection object on success, or NULL on failure + + +
+
+
+
+

nm_remote_connection_commit_changes ()

+
void                nm_remote_connection_commit_changes (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionCommitFunc callback,
+                                                         gpointer user_data);
+

+Save any local changes to the settings and properties of this connection and +save them in the settings service. +

+
++ + + + - - + - - + + +

connection :

the NMRemoteConnection

scope :

the Connection scope (either user or system) +

callback :

a function to be called when the commit completes. [scope async]

path :

the D-Bus path of the connection as exported by the settings service - indicated by scope +

user_data :

caller-specific data to be passed to callback
+
+
+
+

nm_remote_connection_delete ()

+
void                nm_remote_connection_delete         (NMRemoteConnection *connection,
+                                                         NMRemoteConnectionDeleteFunc callback,
+                                                         gpointer user_data);
+

+Delete the connection. +

+
++ - - + + + + + + + + + + + +

Returns :

the new remote connection object on success, or NULL on failure +

connection :

the NMRemoteConnection +

callback :

a function to be called when the delete completes. [scope async][allow-none] +

user_data :

caller-specific data to be passed to callback +
+
+
+
+

nm_remote_connection_get_secrets ()

+
void                nm_remote_connection_get_secrets    (NMRemoteConnection *connection,
+                                                         const char *setting_name,
+                                                         NMRemoteConnectionGetSecretsFunc callback,
+                                                         gpointer user_data);
+

+Request the connection's secrets. +

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

connection :

the NMRemoteConnection +

setting_name :

the NMSetting object name to get secrets for

callback :

a function to be called when the update completes. [scope async] +

user_data :

caller-specific data to be passed to callback
-
+

Property Details

-
+

The "bus" property

  "bus"                      DBusGConnection*      : Write / Construct Only

DBusGConnection.


-
+

The "init-result" property

  "init-result"              guint                 : Read

Initialization result (PRIVATE).

@@ -155,9 +314,81 @@ Creates a new object representing the remote connection.

Default value: 0

+
+

Signal Details

+
+

The "removed" signal

+
void                user_function                      (NMRemoteConnection *connection,
+                                                        gpointer            user_data)       : Run First
+

+This signal is emitted when a connection is either deleted or becomes +invisible to the current user. +

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

connection :

a NMConnection +

user_data :

user data set when the signal handler was connected.
+
+
+
+

The "updated" signal

+
void                user_function                      (NMRemoteConnection *connection,
+                                                        gpointer            user_data)       : Run First
+

+This signal is emitted when a connection changes, and it is +still visible to the user. +

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

connection :

a NMConnection +

user_data :

user data set when the signal handler was connected.
+
+
+
+

The "visible" signal

+
void                user_function                      (NMRemoteConnection *nmremoteconnection,
+                                                        gboolean            arg1,
+                                                        gpointer            user_data)               : Run First
+

+

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

nmremoteconnection :

the object which received the signal.

user_data :

user data set when the signal handler was connected.
+
+
+ Generated by GTK-Doc V1.17
\ No newline at end of file -- cgit 1.3.0-6-gf8a5