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/NMRemoteSettings.html | 100 ++++++++++++++++++++++++++++- 1 file changed, 97 insertions(+), 3 deletions(-) (limited to 'docs/libnm-glib/html/NMRemoteSettings.html') diff --git a/docs/libnm-glib/html/NMRemoteSettings.html b/docs/libnm-glib/html/NMRemoteSettings.html index 558cec46..4ed57b08 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -27,6 +27,8 @@  |  Object Hierarchy  |  + Implemented Interfaces +  |  Properties  |  Signals @@ -57,6 +59,7 @@ enum NM_REMOTE_SETTINGS_BUS #define NM_REMOTE_SETTINGS_CAN_MODIFY #define NM_REMOTE_SETTINGS_CONNECTIONS_READ +#define NM_REMOTE_SETTINGS_ERROR #define NM_REMOTE_SETTINGS_HOSTNAME #define NM_REMOTE_SETTINGS_NEW_CONNECTION #define NM_REMOTE_SETTINGS_SERVICE_RUNNING @@ -73,6 +76,12 @@ enum const char *uuid); GSList * nm_remote_settings_list_connections (NMRemoteSettings *settings); NMRemoteSettings * nm_remote_settings_new (DBusGConnection *bus); +void nm_remote_settings_new_async (DBusGConnection *bus, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +NMRemoteSettings * nm_remote_settings_new_finish (GAsyncResult *result, + GError **error); gboolean nm_remote_settings_save_hostname (NMRemoteSettings *settings, const char *hostname, NMRemoteSettingsSaveHostnameFunc callback, @@ -87,6 +96,12 @@ enum +

Implemented Interfaces

+

+NMRemoteSettings implements + GInitable and GAsyncInitable.

+ +

Properties

   "bus"                      DBusGConnection*      : Read / Write / Construct Only
@@ -154,9 +169,9 @@ enum                
 

enum NMRemoteSettingsError

typedef enum {
-	NM_REMOTE_SETTINGS_ERROR_UNKNOWN = 0,
-	NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED,
-	NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE,
+	NM_REMOTE_SETTINGS_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
+	NM_REMOTE_SETTINGS_ERROR_CONNECTION_REMOVED,     /*< nick=ConnectionRemoved >*/
+	NM_REMOTE_SETTINGS_ERROR_CONNECTION_UNAVAILABLE, /*< nick=ConnectionUnavailable >*/
 } NMRemoteSettingsError;
 

@@ -220,6 +235,14 @@ Describes errors that may result from operations involving a


+

NM_REMOTE_SETTINGS_ERROR

+
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
+
+

+

+
+
+

NM_REMOTE_SETTINGS_HOSTNAME

#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
 
@@ -390,6 +413,11 @@ using nm_remote_settings_new_async() if you +want to avoid that. +

@@ -407,6 +435,72 @@ Creates a new object representing the remote settings service.
+

nm_remote_settings_new_async ()

+
void                nm_remote_settings_new_async        (DBusGConnection *bus,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
+                                                         gpointer user_data);
+

+Creates a new object representing the remote settings service and +begins asynchronously initializing it. callback will be called +when it is done; use nm_remote_settings_new_finish() to get the +result. +

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

bus :

a valid and connected D-Bus connection. [allow-none] +

cancellable :

a GCancellable, or NULL +

callback :

callback to call when the settings object is created

user_data :

data for callback +
+
+
+
+

nm_remote_settings_new_finish ()

+
NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
+                                                         GError **error);
+

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

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

result :

a GAsyncResult +

error :

location for a GError, or NULL +

Returns :

a new NMRemoteSettings object, or NULL on error
+
+
+

nm_remote_settings_save_hostname ()

gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
                                                          const char *hostname,
-- 
cgit 1.3.0-6-gf8a5