From a4256940da049f91bbbea5e53e469a59ea9c10f7 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 25 Oct 2013 21:20:58 +0200 Subject: Imported Upstream version 0.9.8.8 --- docs/libnm-glib/html/NMRemoteSettings.html | 430 ++++++++++++++++------------- 1 file changed, 233 insertions(+), 197 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 4ed57b08..aeaf748e 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -3,12 +3,12 @@ NMRemoteSettings - + - + @@ -45,43 +45,43 @@

Synopsis

-
struct              NMRemoteSettings;
+
enum                NMRemoteSettingsError;
+#define             NM_REMOTE_SETTINGS_ERROR
+GQuark              nm_remote_settings_error_quark      (void);
+#define             NM_REMOTE_SETTINGS_BUS
+#define             NM_REMOTE_SETTINGS_SERVICE_RUNNING
+#define             NM_REMOTE_SETTINGS_HOSTNAME
+#define             NM_REMOTE_SETTINGS_CAN_MODIFY
+#define             NM_REMOTE_SETTINGS_NEW_CONNECTION
+#define             NM_REMOTE_SETTINGS_CONNECTIONS_READ
 void                (*NMRemoteSettingsAddConnectionFunc)
                                                         (NMRemoteSettings *settings,
                                                          NMRemoteConnection *connection,
                                                          GError *error,
                                                          gpointer user_data);
-struct              NMRemoteSettingsClass;
-enum                NMRemoteSettingsError;
 void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
                                                          GError *error,
                                                          gpointer user_data);
-#define             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
-gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
-                                                         NMConnection *connection,
-                                                         NMRemoteSettingsAddConnectionFunc callback,
+struct              NMRemoteSettings;
+struct              NMRemoteSettingsClass;
+NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
+void                nm_remote_settings_new_async        (DBusGConnection *bus,
+                                                         GCancellable *cancellable,
+                                                         GAsyncReadyCallback callback,
                                                          gpointer user_data);
-GQuark              nm_remote_settings_error_quark      (void);
+NMRemoteSettings *  nm_remote_settings_new_finish       (GAsyncResult *result,
+                                                         GError **error);
+GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
 NMRemoteConnection * nm_remote_settings_get_connection_by_path
                                                         (NMRemoteSettings *settings,
                                                          const char *path);
 NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
                                                         (NMRemoteSettings *settings,
                                                          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,
+gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc 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,
@@ -125,48 +125,6 @@ NMRemoteSettings implements
 

Details

-

struct NMRemoteSettings

-
struct NMRemoteSettings;
-

-

-
-
-
-

NMRemoteSettingsAddConnectionFunc ()

-
void                (*NMRemoteSettingsAddConnectionFunc)
-                                                        (NMRemoteSettings *settings,
-                                                         NMRemoteConnection *connection,
-                                                         GError *error,
-                                                         gpointer user_data);
-

-

-
-
-
-

struct NMRemoteSettingsClass

-
struct NMRemoteSettingsClass {
-	GObjectClass parent;
-
-	/* Signals */
-	void (*new_connection) (NMRemoteSettings *settings,
-	                        NMRemoteConnection *connection);
-
-	void (*connections_read) (NMRemoteSettings *settings);
-
-	/* Padding for future expansion */
-	void (*_reserved1) (void);
-	void (*_reserved2) (void);
-	void (*_reserved3) (void);
-	void (*_reserved4) (void);
-	void (*_reserved5) (void);
-	void (*_reserved6) (void);
-};
-
-

-

-
-
-

enum NMRemoteSettingsError

typedef enum {
 	NM_REMOTE_SETTINGS_ERROR_UNKNOWN = 0,            /*< nick=UnknownError >*/
@@ -177,8 +135,11 @@ NMRemoteSettings implements
 

Describes errors that may result from operations involving a NMRemoteSettings.

-
+
+++ @@ -202,15 +163,32 @@ Describes errors that may result from operations involving a
-

NMRemoteSettingsSaveHostnameFunc ()

-
void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
-                                                         GError *error,
-                                                         gpointer user_data);
+

NM_REMOTE_SETTINGS_ERROR

+
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
+


+

nm_remote_settings_error_quark ()

+
GQuark              nm_remote_settings_error_quark      (void);
+

+Registers an error quark for NMRemoteSettings if necessary. +

+

NM_REMOTE_SETTINGS_ERROR_UNKNOWN

++++ + + + + +

Returns :

the error quark used for NMRemoteSettings errors.
+
+
+

NM_REMOTE_SETTINGS_BUS

#define NM_REMOTE_SETTINGS_BUS             "bus"
 
@@ -219,6 +197,22 @@ Describes errors that may result from operations involving a
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+
+

+

+
+
+
+

NM_REMOTE_SETTINGS_HOSTNAME

+
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
+
+

+

+
+
+

NM_REMOTE_SETTINGS_CAN_MODIFY

#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
 
@@ -227,6 +221,14 @@ Describes errors that may result from operations involving a
+

NM_REMOTE_SETTINGS_NEW_CONNECTION

+
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
+
+

+

+
+
+

NM_REMOTE_SETTINGS_CONNECTIONS_READ

#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
 
@@ -235,117 +237,121 @@ Describes errors that may result from operations involving a
-

NM_REMOTE_SETTINGS_ERROR

-
#define NM_REMOTE_SETTINGS_ERROR nm_remote_settings_error_quark ()
-
+

NMRemoteSettingsAddConnectionFunc ()

+
void                (*NMRemoteSettingsAddConnectionFunc)
+                                                        (NMRemoteSettings *settings,
+                                                         NMRemoteConnection *connection,
+                                                         GError *error,
+                                                         gpointer user_data);


-

NM_REMOTE_SETTINGS_HOSTNAME

-
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
-
+

NMRemoteSettingsSaveHostnameFunc ()

+
void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
+                                                         GError *error,
+                                                         gpointer user_data);


-

NM_REMOTE_SETTINGS_NEW_CONNECTION

-
#define NM_REMOTE_SETTINGS_NEW_CONNECTION    "new-connection"
-
+

struct NMRemoteSettings

+
struct NMRemoteSettings;


-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+

struct NMRemoteSettingsClass

+
struct NMRemoteSettingsClass {
+	GObjectClass parent;
+
+	/* Signals */
+	void (*new_connection) (NMRemoteSettings *settings,
+	                        NMRemoteConnection *connection);
+
+	void (*connections_read) (NMRemoteSettings *settings);
+
+	/* Padding for future expansion */
+	void (*_reserved1) (void);
+	void (*_reserved2) (void);
+	void (*_reserved3) (void);
+	void (*_reserved4) (void);
+	void (*_reserved5) (void);
+	void (*_reserved6) (void);
+};
 


-

nm_remote_settings_add_connection ()

-
gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
-                                                         NMConnection *connection,
-                                                         NMRemoteSettingsAddConnectionFunc callback,
-                                                         gpointer user_data);
+

nm_remote_settings_new ()

+
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);

-Requests that the remote settings service add the given settings to a new -connection. +Creates a new object representing the remote settings service.

-
+

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

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

settings :

the NMRemoteSettings -

connection :

the connection to add. Note that this object's settings will be -added, not the object itself

callback :

callback to be called when the add operation completes. [scope async] -

user_data :

caller-specific data passed to callback. [closure] +

bus :

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

Returns :

TRUE if the request was successful, FALSE if it failedthe new remote settings object on success, or NULL on failure

-

nm_remote_settings_error_quark ()

-
GQuark              nm_remote_settings_error_quark      (void);
-

-Registers an error quark for NMRemoteSettings if necessary. -

-
-- - - - -

Returns :

the error quark used for NMRemoteSettings errors.
-
-
-
-

nm_remote_settings_get_connection_by_path ()

-
NMRemoteConnection * nm_remote_settings_get_connection_by_path
-                                                        (NMRemoteSettings *settings,
-                                                         const char *path);
+

nm_remote_settings_new_async ()

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

-Returns the NMRemoteConnection representing the connection at path. +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.

-
+
+++ - - + - - + + - - + + + + + @@ -353,30 +359,31 @@ not known. [ -

nm_remote_settings_get_connection_by_uuid ()

-
NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
-                                                        (NMRemoteSettings *settings,
-                                                         const char *uuid);
+

nm_remote_settings_new_finish ()

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

-Returns the NMRemoteConnection identified by uuid. +Gets the result of an nm_remote_settings_new_async() call.

-

settings :

the NMRemoteSettings +

bus :

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

path :

the D-Bus object path of the remote connection

cancellable :

a GCancellable, or NULL +

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] +

callback :

callback to call when the settings object is created

user_data :

data for callback
+
+++ - - + - - + + - +

settings :

the NMRemoteSettings +

result :

a GAsyncResult

uuid :

the UUID of the remote connection

error :

location for a GError, or NULL +

Returns :

the remote connection object on success, or NULL if the object was -not known. [transfer none] -a new NMRemoteSettings object, or NULL on error
@@ -385,8 +392,11 @@ not known. [

nm_remote_settings_list_connections ()

GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
-
+
+++ @@ -408,64 +418,65 @@ using -

nm_remote_settings_new ()

-
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
-

-Creates a new object representing the remote settings service. -

+

nm_remote_settings_get_connection_by_path ()

+
NMRemoteConnection * nm_remote_settings_get_connection_by_path
+                                                        (NMRemoteSettings *settings,
+                                                         const char *path);

-Note that this will do blocking D-Bus calls to initialize the -settings object. You can use nm_remote_settings_new_async() if you -want to avoid that. +Returns the NMRemoteConnection representing the connection at path.

-

settings :

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

bus :

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

settings :

the NMRemoteSettings

path :

the D-Bus object path of the remote connection

Returns :

the new remote settings object on success, or NULL on failurethe remote connection object on success, or NULL if the object was +not known. [transfer none] +

-

nm_remote_settings_new_async ()

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

nm_remote_settings_get_connection_by_uuid ()

+
NMRemoteConnection * nm_remote_settings_get_connection_by_uuid
+                                                        (NMRemoteSettings *settings,
+                                                         const char *uuid);

-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. +Returns the NMRemoteConnection identified by uuid.

-
+
+++ - - - - - - + - - + + - - + @@ -473,28 +484,44 @@ result.
-

nm_remote_settings_new_finish ()

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

nm_remote_settings_add_connection ()

+
gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
+                                                         NMConnection *connection,
+                                                         NMRemoteSettingsAddConnectionFunc callback,
+                                                         gpointer user_data);

-Gets the result of an nm_remote_settings_new_async() call. +Requests that the remote settings service add the given settings to a new +connection.

-

bus :

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

cancellable :

a GCancellable, or NULL +

settings :

the NMRemoteSettings

callback :

callback to call when the settings object is created

uuid :

the UUID of the remote connection

user_data :

data for callback +

Returns :

the remote connection object on success, or NULL if the object was +not known. [transfer none]
+
+++ - - + - - + + + + + + + + + - +

result :

a GAsyncResult +

settings :

the NMRemoteSettings

error :

location for a GError, or NULL +

connection :

the connection to add. Note that this object's settings will be +added, not the object itself

callback :

callback to be called when the add operation completes. [scope async] +

user_data :

caller-specific data passed to callback. [closure]

Returns :

a new NMRemoteSettings object, or NULL on errorTRUE if the request was successful, FALSE if it failed
@@ -510,8 +537,11 @@ Gets the result of an +
+++ @@ -520,7 +550,7 @@ or cleared. - @@ -579,8 +609,11 @@ hostname operation completes. [gpointer user_data) : Run First

-

settings :

hostname :

the new persistent hostname to set, or NULL to clear any existing +the new persistent hostname to set, or NULL to clear any existing persistent hostname
+
+++ @@ -601,8 +634,11 @@ hostname operation completes. [gpointer user_data) : Run First

-

nmremotesettings :

+
+++ @@ -619,6 +655,6 @@ hostname operation completes. [
- Generated by GTK-Doc V1.18 + Generated by GTK-Doc V1.19 \ No newline at end of file -- cgit 1.3.0-6-gf8a5

nmremotesettings :