From de06e5715e780baade318f3490ac7a4c9ce84e32 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 24 Mar 2012 01:37:02 +0100 Subject: Imported Upstream version 0.9.4.0 --- docs/libnm-glib/html/NMClient.html | 93 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 90 insertions(+), 3 deletions(-) (limited to 'docs/libnm-glib/html/NMClient.html') diff --git a/docs/libnm-glib/html/NMClient.html b/docs/libnm-glib/html/NMClient.html index 81015347..7133c489 100644 --- a/docs/libnm-glib/html/NMClient.html +++ b/docs/libnm-glib/html/NMClient.html @@ -27,6 +27,8 @@  |  Object Hierarchy  |  + Implemented Interfaces +  |  Properties  |  Signals @@ -98,8 +100,13 @@ const char * void nm_client_networking_set_enabled (NMClient *client, gboolean enabled); NMClient * nm_client_new (void); +void nm_client_new_async (GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +NMClient * nm_client_new_finish (GAsyncResult *result, + GError **error); void nm_client_sleep (NMClient *client, - gboolean sleep); + gboolean sleep_); gboolean nm_client_wimax_get_enabled (NMClient *client); gboolean nm_client_wimax_hardware_get_enabled (NMClient *client); @@ -125,6 +132,12 @@ const char * +

Implemented Interfaces

+

+NMClient implements + GInitable and GAsyncInitable.

+ +

Properties

   "active-connections"       NMObjectArray*        : Read
@@ -734,6 +747,16 @@ all controlled interfaces are available for activation.
 

Creates a new NMClient.

+

+Note that this will do blocking D-Bus calls to initialize the +client. You can use nm_client_new_async() if you want to avoid +that. +

+

+NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object. +

@@ -745,9 +768,73 @@ Creates a new
+

nm_client_new_async ()

+
void                nm_client_new_async                 (GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+

+Creates a new NMClient and begins asynchronously initializing it. +callback will be called when it is done; use +nm_client_new_finish() to get the result. +

+

+NOTE: NMClient provides information about devices and a mechanism to +control them. To access and modify network configuration data, use the +NMRemoteSettings object. +

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

cancellable :

a GCancellable, or NULL +

callback :

callback to call when the client is created

user_data :

data for callback +
+
+
+
+

nm_client_new_finish ()

+
NMClient *          nm_client_new_finish                (GAsyncResult *result,
+                                                         GError **error);
+

+Gets the result of an nm_client_new_async() call. +

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

result :

a GAsyncResult +

error :

location for a GError, or NULL +

Returns :

a new NMClient, or NULL on error
+
+
+

nm_client_sleep ()

void                nm_client_sleep                     (NMClient *client,
-                                                         gboolean sleep);
+ gboolean sleep_);

Deprecated; use nm_client_networking_set_enabled() instead.

@@ -760,7 +847,7 @@ Deprecated; use sleep :

+

sleep_ :

TRUE to put the daemon to sleep -- cgit 1.3.0-6-gf8a5