From b436a68a20ff3114ded32a7a3d70cdd4954039f9 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 12 Nov 2011 01:36:14 +0100 Subject: Imported Upstream version 0.9.2.0 --- docs/libnm-glib/html/NMRemoteSettings.html | 290 +++++++++++++---------------- 1 file changed, 132 insertions(+), 158 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 09f803ff..558cec46 100644 --- a/docs/libnm-glib/html/NMRemoteSettings.html +++ b/docs/libnm-glib/html/NMRemoteSettings.html @@ -8,7 +8,7 @@ - + @@ -43,39 +43,36 @@

Synopsis

-
enum                NMRemoteSettingsError;
-#define             NM_TYPE_REMOTE_SETTINGS_ERROR
-#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
+
struct              NMRemoteSettings;
 void                (*NMRemoteSettingsAddConnectionFunc)
                                                         (NMRemoteSettings *settings,
                                                          NMRemoteConnection *connection,
                                                          GError *error,
                                                          gpointer user_data);
+struct              NMRemoteSettingsClass;
+enum                NMRemoteSettingsError;
 void                (*NMRemoteSettingsSaveHostnameFunc) (NMRemoteSettings *settings,
                                                          GError *error,
                                                          gpointer user_data);
-struct              NMRemoteSettings;
-struct              NMRemoteSettingsClass;
-GType               nm_remote_settings_get_type         (void);
-NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
-GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
-NMRemoteConnection *  nm_remote_settings_get_connection_by_path
+#define             NM_REMOTE_SETTINGS_BUS
+#define             NM_REMOTE_SETTINGS_CAN_MODIFY
+#define             NM_REMOTE_SETTINGS_CONNECTIONS_READ
+#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,
+                                                         gpointer user_data);
+GQuark              nm_remote_settings_error_quark      (void);
+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);
-gboolean            nm_remote_settings_add_connection   (NMRemoteSettings *settings,
-                                                         NMConnection *connection,
-                                                         NMRemoteSettingsAddConnectionFunc callback,
-                                                         gpointer user_data);
+GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
+NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
 gboolean            nm_remote_settings_save_hostname    (NMRemoteSettings *settings,
                                                          const char *hostname,
                                                          NMRemoteSettingsSaveHostnameFunc callback,
@@ -113,6 +110,48 @@ struct              
 

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,
@@ -148,34 +187,12 @@ Describes errors that may result from operations involving a 
 
-

NM_TYPE_REMOTE_SETTINGS_ERROR

-
#define NM_TYPE_REMOTE_SETTINGS_ERROR (nm_remote_settings_error_get_type ()) 
-
-

-

-
-
-
-

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

NMRemoteSettingsSaveHostnameFunc ()

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

-Registers an error quark for NMRemoteSettings if necessary.

-
-- - - - -

Returns :

the error quark used for NMRemoteSettings errors.

@@ -187,24 +204,24 @@ Registers an error quark for
-

NM_REMOTE_SETTINGS_SERVICE_RUNNING

-
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
+

NM_REMOTE_SETTINGS_CAN_MODIFY

+
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
 


-

NM_REMOTE_SETTINGS_HOSTNAME

-
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
+

NM_REMOTE_SETTINGS_CONNECTIONS_READ

+
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
 


-

NM_REMOTE_SETTINGS_CAN_MODIFY

-
#define NM_REMOTE_SETTINGS_CAN_MODIFY      "can-modify"
+

NM_REMOTE_SETTINGS_HOSTNAME

+
#define NM_REMOTE_SETTINGS_HOSTNAME        "hostname"
 

@@ -219,121 +236,72 @@ Registers an error quark for
-

NM_REMOTE_SETTINGS_CONNECTIONS_READ

-
#define NM_REMOTE_SETTINGS_CONNECTIONS_READ  "connections-read"
+

NM_REMOTE_SETTINGS_SERVICE_RUNNING

+
#define NM_REMOTE_SETTINGS_SERVICE_RUNNING "service-running"
 


-

NMRemoteSettingsAddConnectionFunc ()

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

-

-
-
-
-

NMRemoteSettingsSaveHostnameFunc ()

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

nm_remote_settings_add_connection ()

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

-

-
-
-
-

struct NMRemoteSettings

-
struct NMRemoteSettings;
-

-

-
-
-
-

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_get_type ()

-
GType               nm_remote_settings_get_type         (void);
-

-

-
-
-
-

nm_remote_settings_new ()

-
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
-

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

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

bus :

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

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]

Returns :

the new remote settings object on success, or NULL on failureTRUE if the request was successful, FALSE if it failed

-

nm_remote_settings_list_connections ()

-
GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
+

nm_remote_settings_error_quark ()

+
GQuark              nm_remote_settings_error_quark      (void);
+

+Registers an error quark for NMRemoteSettings if necessary. +

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

settings :

the NMRemoteSettings -

Returns :

a -list containing all connections provided by the remote settings service. -Each element of the returned list is a NMRemoteConnection instance, which is -owned by the NMRemoteSettings object and should not be freed by the caller. -The returned list is, however, owned by the caller and should be freed -using g_slist_free() when no longer required. [transfer container][element-type NMClient.RemoteConnection] -
the error quark used for NMRemoteSettings errors.

nm_remote_settings_get_connection_by_path ()

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

@@ -392,15 +360,8 @@ not known. [ -

nm_remote_settings_add_connection ()

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

-Requests that the remote settings service add the given settings to a new -connection. -

+

nm_remote_settings_list_connections ()

+
GSList *            nm_remote_settings_list_connections (NMRemoteSettings *settings);
@@ -410,23 +371,36 @@ connection. - - - - - - + + +

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] +

Returns :

a +list containing all connections provided by the remote settings service. +Each element of the returned list is a NMRemoteConnection instance, which is +owned by the NMRemoteSettings object and should not be freed by the caller. +The returned list is, however, owned by the caller and should be freed +using g_slist_free() when no longer required. [transfer container][element-type NMClient.RemoteConnection]
+
+
+
+

nm_remote_settings_new ()

+
NMRemoteSettings *  nm_remote_settings_new              (DBusGConnection *bus);
+

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

+
++ - - + - +

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
@@ -458,7 +432,7 @@ persistent hostname

callback :

callback to be called when the -hostname operation completes. [scope async][allow none] +hostname operation completes. [scope async][allow-none] @@ -551,6 +525,6 @@ hostname operation completes. [
- Generated by GTK-Doc V1.17
+ Generated by GTK-Doc V1.18
\ No newline at end of file -- cgit 1.3.0-6-gf8a5