From 90e8691111889a7b5f3c812f5a41f15a8a058913 Mon Sep 17 00:00:00 2001
From: Michael Biebl
-GQuark
+GQuark
nm_remote_settings_error_quark ()
@@ -100,7 +100,7 @@
-GSList *
+GSList *
nm_remote_settings_list_connections ()
@@ -132,7 +132,7 @@
-gboolean
+gboolean
nm_remote_settings_add_connection ()
@@ -140,7 +140,7 @@
-gboolean
+gboolean
nm_remote_settings_add_connection_unsaved ()
@@ -148,7 +148,7 @@
-gboolean
+gboolean
nm_remote_settings_load_connections ()
@@ -156,7 +156,7 @@
-gboolean
+gboolean
nm_remote_settings_reload_connections ()
@@ -164,7 +164,7 @@
-gboolean
+gboolean
nm_remote_settings_save_hostname ()
@@ -189,18 +189,18 @@
Read / Write / Construct Only
-
gboolean
+gboolean
can-modify
Read
-gchar *
+gchar *
hostname
Read
-
@@ -219,12 +219,12 @@
gboolean
+gboolean
service-running
Read
void
connections-read
-Run First
+Run First
@@ -274,7 +274,7 @@
@@ -366,15 +366,15 @@ the stored object known to NetworkManager.void
new-connection
-Run First
+Run First
GQuark +GQuark nm_remote_settings_error_quark (void);Registers an error quark for NMRemoteSettings if necessary.
@@ -443,8 +443,8 @@ nm_remote_settings_error_quark (vvoid (*NMRemoteSettingsAddConnectionFunc) (+NMRemoteSettings *settings,NMRemoteConnection *connection, -GError *error, -gpointer user_data);GError *error, +gpointer user_data);
@@ -453,16 +453,16 @@ nm_remote_settings_error_quark (v (*NMRemoteSettingsLoadConnectionsFunc) (NMRemoteSettings *settings,char **failures, -GError *error, -gpointer user_data); +GError *error, +gpointer user_data);
NMRemoteSettingsSaveHostnameFunc ()
void (*NMRemoteSettingsSaveHostnameFunc) (+NMRemoteSettings *settings, -GError *error, -gpointer user_data);GError *error, +gpointer user_data);
@@ -490,7 +490,7 @@ want to avoid that.Returns
-the new remote settings object on success, or
+NULLon failurethe new remote settings object on success, or
NULLon failure
void nm_remote_settings_new_async (+DBusGConnection *bus, -GCancellable *cancellable, -GAsyncReadyCallback callback, -gpointer user_data);
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
@@ -522,7 +522,7 @@ result.
cancellable
a GCancellable, or NULL
a GCancellable, or NULL
NMRemoteSettings * -nm_remote_settings_new_finish (+nm_remote_settings_new_finish (GAsyncResult *result, -GError **error);
GAsyncResult *result,
+ GError **error);
Gets the result of an nm_remote_settings_new_async() call.
GA
result
-a GAsyncResult
+
error
-location for a GError, or NULL
+
@@ -571,13 +571,13 @@ nm_remote_settings_new_finish (GA
a new NMRemoteSettings object, or NULL on error
a new NMRemoteSettings object, or NULL on error
GSList * +GSList * nm_remote_settings_list_connections (NMRemoteSettings *settings);Parameters
@@ -601,7 +601,7 @@ list containing all connections provided by the remote settings service. Each element of the returned list is aNMRemoteConnectioninstance, which is owned by theNMRemoteSettingsobject and should not be freed by the caller. The returned list is, however, owned by the caller and should be freed -usingg_slist_free()when no longer required. +usingg_slist_free()when no longer required.[transfer container][element-type NMRemoteConnection]
the remote connection object on success, or NULL if no
+
the remote connection object on success, or NULL if no
matching object was found.
[transfer none]
the remote connection object on success, or NULL if the object was
+
the remote connection object on success, or NULL if the object was
not known.
[transfer none]
the remote connection object on success, or NULL if the object was
+
the remote connection object on success, or NULL if the object was
not known.
[transfer none]
gboolean +gboolean nm_remote_settings_add_connection (+NMRemoteSettings *settings,NMConnection *connection,NMRemoteSettingsAddConnectionFunc callback, -gpointer user_data);gpointer user_data);
Requests that the remote settings service add the given settings to a new
connection. The connection is immediately written to disk. connection
is
@@ -776,18 +776,18 @@ added, not the object itself
gboolean +gboolean nm_remote_settings_add_connection_unsaved (+NMRemoteSettings *settings,NMConnection *connection,NMRemoteSettingsAddConnectionFunc callback, -gpointer user_data);gpointer user_data);
Requests that the remote settings service add the given settings to a new
connection. The connection is not written to disk, which may be done at
a later time by calling the connection's nm_remote_connection_commit_changes()
@@ -828,29 +828,29 @@ added, not the object itself
Since: 0.9.10
gboolean +gboolean nm_remote_settings_load_connections (+NMRemoteSettings *settings,char **filenames,char ***failures, -GError **error);GError **error);
Requests that the remote settings service load or reload the given files, adding or updating the connections described within.
The changes to the indicated files will not yet be reflected in
settings
's connections array when the function returns.
If all of the indicated files were successfully loaded, the
-function will return TRUE, and failures
- will be set to NULL. If
+function will return TRUE, and failures
+ will be set to NULL. If
NetworkManager tried to load the files, but some (or all) failed,
then failures
- will be set to a NULL-terminated array of the
+ will be set to a NULL-terminated array of the
filenames that failed to load.
filenames
NULL-terminated array of filenames to load
NULL-terminated array of filenames to load
failures
on return, a NULL-terminated array of
+
on return, a NULL-terminated array of
filenames that failed to load.
error
return location for GError
return location for GError
TRUE if NetworkManager at least tried to load filenames
+
TRUE if NetworkManager at least tried to load filenames
,
-FALSE if an error occurred (eg, permission denied).
FALSE if an error occurred (eg, permission denied).
Since: 0.9.10
gboolean +gboolean nm_remote_settings_reload_connections (+NMRemoteSettings *settings, -GError **error);GError **error);
Requests that the remote settings service reload all connection files from disk, adding, updating, and removing connections until the in-memory state matches the on-disk state.
@@ -918,7 +918,7 @@ the in-memory state matches the on-disk state.error
return location for GError
return location for GError
Since: 0.9.10
gboolean +gboolean nm_remote_settings_save_hostname (+NMRemoteSettings *settings,const char *hostname,NMRemoteSettingsSaveHostnameFunc callback, -gpointer user_data);gpointer user_data);
Requests that the machine's persistent hostname be set to the specified value or cleared.
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
“can-modify” property “can-modify” gboolean
-If TRUE, adding and modifying connections is supported.
“can-modify” gboolean+
If TRUE, adding and modifying connections is supported.
Flags: Read
Default value: FALSE
“hostname” property “hostname” gchar *
+“hostname” gchar *
The machine hostname stored in persistent configuration. This can be
modified by calling nm_remote_settings_save_hostname().
Flags: Read
@@ -1102,7 +1102,7 @@ modified by calling“service-running” property “service-running” gboolean
+“service-running” gboolean
Whether the settings service is running.
Flags: Read
Default value: FALSE
@@ -1114,17 +1114,17 @@ modified by calling“connections-read” signalvoid user_function (NMRemoteSettings *nmremotesettings, - gpointer user_data)-
Flags: Run First
+ gpointer user_data) +Flags: Run First
“new-connection” signalvoid user_function (NMRemoteSettings *nmremotesettings, - GObject *arg1, - gpointer user_data)-
Flags: Run First
+ GObject *arg1, + gpointer user_data) +Flags: Run First