From 04bc9e1cd3544445d883ad29ea108c1645c8e7b7 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 4 Jun 2018 00:07:45 +0200 Subject: New upstream version 1.11.4 --- docs/libnm/html/NMRemoteConnection.html | 287 +++++++++++++++++++------------- 1 file changed, 173 insertions(+), 114 deletions(-) (limited to 'docs/libnm/html/NMRemoteConnection.html') diff --git a/docs/libnm/html/NMRemoteConnection.html b/docs/libnm/html/NMRemoteConnection.html index 6cd6e6dd..8b533322 100644 --- a/docs/libnm/html/NMRemoteConnection.html +++ b/docs/libnm/html/NMRemoteConnection.html @@ -8,7 +8,7 @@ - + @@ -52,7 +52,7 @@ -GVariant * +GVariant * nm_remote_connection_update2_finish () @@ -60,7 +60,7 @@ -gboolean +gboolean nm_remote_connection_commit_changes () @@ -76,7 +76,7 @@ -gboolean +gboolean nm_remote_connection_commit_changes_finish () @@ -84,7 +84,7 @@ -gboolean +gboolean nm_remote_connection_save () @@ -100,7 +100,7 @@ -gboolean +gboolean nm_remote_connection_save_finish () @@ -108,7 +108,7 @@ -gboolean +gboolean nm_remote_connection_delete () @@ -124,7 +124,7 @@ -gboolean +gboolean nm_remote_connection_delete_finish () @@ -132,7 +132,7 @@ -GVariant * +GVariant * nm_remote_connection_get_secrets () @@ -148,7 +148,7 @@ -GVariant * +GVariant * nm_remote_connection_get_secrets_finish () @@ -156,7 +156,7 @@ -gboolean +gboolean nm_remote_connection_get_unsaved () @@ -164,7 +164,15 @@ -gboolean +NMSettingsConnectionFlags + + +nm_remote_connection_get_flags () + + + + +gboolean nm_remote_connection_get_visible () @@ -183,12 +191,17 @@ -gboolean +guint +flags +Read + + +gboolean unsaved Read -gboolean +gboolean visible Read @@ -217,6 +230,10 @@ #define +NM_REMOTE_CONNECTION_FLAGS + + +#define NM_REMOTE_CONNECTION_VISIBLE @@ -228,7 +245,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── NMObject
         ╰── NMRemoteConnection
 
@@ -237,7 +254,7 @@

Implemented Interfaces

NMRemoteConnection implements - GInitable, GAsyncInitable and NMConnection.

+ GInitable, GAsyncInitable and NMConnection.

Description

@@ -248,12 +265,12 @@ NMRemoteConnection implements

nm_remote_connection_update2 ()

void
 nm_remote_connection_update2 (NMRemoteConnection *connection,
-                              GVariant *settings,
+                              GVariant *settings,
                               NMSettingsUpdate2Flags flags,
-                              GVariant *args,
-                              GCancellable *cancellable,
-                              GAsyncReadyCallback callback,
-                              gpointer user_data);
+ GVariant *args, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously calls the Update2() D-Bus method.

Parameters

@@ -286,7 +303,7 @@ nm_remote_connection_update2 (

cancellable

-

a GCancellable, or NULL

+

a GCancellable, or NULL

  @@ -303,15 +320,15 @@ nm_remote_connection_update2 (Since: 1.10.2

+

Since: 1.12


nm_remote_connection_update2_finish ()

-
GVariant *
+
GVariant *
 nm_remote_connection_update2_finish (NMRemoteConnection *connection,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_commit_changes_async().

Parameters

@@ -329,12 +346,12 @@ nm_remote_connection_update2_finish (

result

-

the result passed to the GAsyncReadyCallback

+

the result passed to the GAsyncReadyCallback

 

error

-

location for a GError, or NULL

+

location for a GError, or NULL

  @@ -342,23 +359,23 @@ nm_remote_connection_update2_finish (

Returns

-

on success, a GVariant of type "a{sv}" with the result. On failure, -NULL.

+

on success, a GVariant of type "a{sv}" with the result. On failure, +NULL.


nm_remote_connection_commit_changes ()

-
gboolean
+
gboolean
 nm_remote_connection_commit_changes (NMRemoteConnection *connection,
-                                     gboolean save_to_disk,
-                                     GCancellable *cancellable,
-                                     GError **error);
+ gboolean save_to_disk, + GCancellable *cancellable, + GError **error);

Send any local changes to the settings and properties of connection to NetworkManager. If save_to_disk - is TRUE, the updated connection will be saved to -disk; if FALSE, then only the in-memory representation will be changed.

+ is TRUE, the updated connection will be saved to +disk; if FALSE, then only the in-memory representation will be changed.

Parameters

@@ -380,12 +397,12 @@ disk; if

cancellable

-
+ - + @@ -393,7 +410,7 @@ disk; if

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -403,15 +420,15 @@ will be set.

void
 nm_remote_connection_commit_changes_async
                                (NMRemoteConnection *connection,
-                                gboolean save_to_disk,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ gboolean save_to_disk, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously sends any local changes to the settings and properties of connection to NetworkManager. If save - is TRUE, the updated connection will -be saved to disk; if FALSE, then only the in-memory representation will be + is TRUE, the updated connection will +be saved to disk; if FALSE, then only the in-memory representation will be changed.

Parameters

@@ -434,7 +451,7 @@ changed.

- + @@ -455,11 +472,11 @@ changed.


nm_remote_connection_commit_changes_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_commit_changes_finish
                                (NMRemoteConnection *connection,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_commit_changes_async().

Parameters

@@ -477,12 +494,12 @@ nm_remote_connection_commit_changes_finish
- + - + @@ -490,17 +507,17 @@ nm_remote_connection_commit_changes_finish

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.


nm_remote_connection_save ()

-
gboolean
+
gboolean
 nm_remote_connection_save (NMRemoteConnection *connection,
-                           GCancellable *cancellable,
-                           GError **error);
+ GCancellable *cancellable, + GError **error);

Saves the connection to disk if the connection has changes that have not yet been written to disk, or if the connection has never been saved.

@@ -519,12 +536,12 @@ been written to disk, or if the connection has never been saved.

- + - + @@ -532,7 +549,7 @@ been written to disk, or if the connection has never been saved.

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -541,9 +558,9 @@ will be set.

nm_remote_connection_save_async ()

void
 nm_remote_connection_save_async (NMRemoteConnection *connection,
-                                 GCancellable *cancellable,
-                                 GAsyncReadyCallback callback,
-                                 gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Saves the connection to disk if the connection has changes that have not yet been written to disk, or if the connection has never been saved.

@@ -562,7 +579,7 @@ been written to disk, or if the connection has never been saved.

- + @@ -583,10 +600,10 @@ been written to disk, or if the connection has never been saved.


nm_remote_connection_save_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_save_finish (NMRemoteConnection *connection,
-                                  GAsyncResult *result,
-                                  GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_save_async().

Parameters

@@ -604,12 +621,12 @@ nm_remote_connection_save_finish (
- + - + @@ -617,17 +634,17 @@ nm_remote_connection_save_finish (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.


nm_remote_connection_delete ()

-
gboolean
+
gboolean
 nm_remote_connection_delete (NMRemoteConnection *connection,
-                             GCancellable *cancellable,
-                             GError **error);
+ GCancellable *cancellable, + GError **error);

Deletes the connection.

Parameters

@@ -645,12 +662,12 @@ nm_remote_connection_delete (

cancellable

-
+ - + @@ -658,7 +675,7 @@ nm_remote_connection_delete (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.

@@ -667,9 +684,9 @@ will be set.

nm_remote_connection_delete_async ()

void
 nm_remote_connection_delete_async (NMRemoteConnection *connection,
-                                   GCancellable *cancellable,
-                                   GAsyncReadyCallback callback,
-                                   gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously deletes the connection.

Parameters

@@ -687,7 +704,7 @@ nm_remote_connection_delete_async (
- + @@ -708,10 +725,10 @@ nm_remote_connection_delete_async (

nm_remote_connection_delete_finish ()

-
gboolean
+
gboolean
 nm_remote_connection_delete_finish (NMRemoteConnection *connection,
-                                    GAsyncResult *result,
-                                    GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_delete_async().

Parameters

@@ -729,12 +746,12 @@ nm_remote_connection_delete_finish (
- + - + @@ -742,18 +759,18 @@ nm_remote_connection_delete_finish (

Returns

-

TRUE on success, FALSE on error, in which case error +

TRUE on success, FALSE on error, in which case error will be set.


nm_remote_connection_get_secrets ()

-
GVariant *
+
GVariant *
 nm_remote_connection_get_secrets (NMRemoteConnection *connection,
                                   const char *setting_name,
-                                  GCancellable *cancellable,
-                                  GError **error);
+ GCancellable *cancellable, + GError **error);

Request the connection's secrets. Note that this is a blocking D-Bus call, not a simple property accessor.

@@ -777,12 +794,12 @@ not a simple property accessor.

- + - + @@ -790,9 +807,9 @@ not a simple property accessor.

Returns

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing +

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing connection -'s secrets, or NULL on error.

+'s secrets, or NULL on error.


@@ -802,9 +819,9 @@ not a simple property accessor.

nm_remote_connection_get_secrets_async (NMRemoteConnection *connection, const char *setting_name, - GCancellable *cancellable, - GAsyncReadyCallback callback, - gpointer user_data); + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously requests the connection's secrets.

Parameters

@@ -827,7 +844,7 @@ nm_remote_connection_get_secrets_async
- + @@ -848,11 +865,11 @@ nm_remote_connection_get_secrets_async

nm_remote_connection_get_secrets_finish ()

-
GVariant *
+
GVariant *
 nm_remote_connection_get_secrets_finish
                                (NMRemoteConnection *connection,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Gets the result of a call to nm_remote_connection_get_secrets_async().

Parameters

@@ -870,12 +887,12 @@ nm_remote_connection_get_secrets_finish
- + - + @@ -883,16 +900,16 @@ nm_remote_connection_get_secrets_finish

Returns

-

a GVariant of type NM_VARIANT_TYPE_CONNECTION +

a GVariant of type NM_VARIANT_TYPE_CONNECTION containing connection -'s secrets, or NULL on error.

+'s secrets, or NULL on error.

[transfer full]


nm_remote_connection_get_unsaved ()

-
gboolean
+
gboolean
 nm_remote_connection_get_unsaved (NMRemoteConnection *connection);

Parameters

@@ -911,15 +928,41 @@ nm_remote_connection_get_unsaved (

Returns

-

TRUE if the remote connection contains changes that have not -been saved to disk, FALSE if the connection is the same as its on-disk +

TRUE if the remote connection contains changes that have not +been saved to disk, FALSE if the connection is the same as its on-disk representation.


+

nm_remote_connection_get_flags ()

+
NMSettingsConnectionFlags
+nm_remote_connection_get_flags (NMRemoteConnection *connection);
+
+

Parameters

+

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

error

location for a GError, or NULL

location for a GError, or NULL

 

cancellable

a GCancellable, or NULL

a GCancellable, or NULL

 

result

the result passed to the GAsyncReadyCallback

the result passed to the GAsyncReadyCallback

 

error

location for a GError, or NULL

location for a GError, or NULL

 
+++++ + + + + + +

connection

the NMRemoteConnection

 
+
+
+

Returns

+

the flags of the connection of type NMSettingsConnectionFlags.

+
+

Since: 1.12

+
+
+

nm_remote_connection_get_visible ()

-
gboolean
+
gboolean
 nm_remote_connection_get_visible (NMRemoteConnection *connection);

Checks if the connection is visible to the current user. If the connection is not visible then it is essentially useless; it will @@ -946,8 +989,8 @@ reference to it.)

Returns

-

TRUE if the remote connection is visible to the current -user, FALSE if not.

+

TRUE if the remote connection is visible to the current +user, FALSE if not.

@@ -972,6 +1015,12 @@ user, +

NM_REMOTE_CONNECTION_FLAGS

+
#define NM_REMOTE_CONNECTION_FLAGS           "flags"
+
+ +
+

NM_REMOTE_CONNECTION_VISIBLE

#define NM_REMOTE_CONNECTION_VISIBLE         "visible"
 
@@ -985,18 +1034,28 @@ user,

Property Details

+

The “flags” property

+
  “flags”                    guint
+

The flags of the connection as unsigned integer. The values +correspond to the NMSettingsConnectionFlags enum.

+

Flags: Read

+

Default value: 0

+

Since: 1.12

+
+
+

The “unsaved” property

-
  “unsaved”                  gboolean
-

TRUE if the remote connection contains changes that have not been saved -to disk, FALSE if the connection is the same as its on-disk representation.

+
  “unsaved”                  gboolean
+

TRUE if the remote connection contains changes that have not been saved +to disk, FALSE if the connection is the same as its on-disk representation.

Flags: Read

Default value: FALSE


The “visible” property

-
  “visible”                  gboolean
-

TRUE if the remote connection is visible to the current user, FALSE if +

  “visible”                  gboolean
+

TRUE if the remote connection is visible to the current user, FALSE if not. If the connection is not visible then it is essentially useless; it will not contain any settings, and operations such as nm_remote_connection_save() and nm_remote_connection_delete() will always @@ -1009,6 +1068,6 @@ after you already have a reference to it.)

+
Generated by GTK-Doc V1.28 \ No newline at end of file -- cgit 1.3.0-6-gf8a5