From 2e5fa45ddfbb5cffa1e78221f1cea706e2f298af Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 31 Jul 2019 10:51:42 +0200 Subject: New upstream version 1.19.90 --- docs/libnm/html/NMClient.html | 178 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) (limited to 'docs/libnm/html/NMClient.html') diff --git a/docs/libnm/html/NMClient.html b/docs/libnm/html/NMClient.html index e6387588..0cabe4f4 100644 --- a/docs/libnm/html/NMClient.html +++ b/docs/libnm/html/NMClient.html @@ -264,6 +264,13 @@ +const char * + + +nm_client_connectivity_check_get_uri () + + + gboolean @@ -517,6 +524,22 @@ +void + + +nm_client_add_connection2 () + + + + +NMRemoteConnection * + + +nm_client_add_connection2_finish () + + + + gboolean @@ -1866,6 +1889,35 @@ have any effect.


+

nm_client_connectivity_check_get_uri ()

+
const char *
+nm_client_connectivity_check_get_uri (NMClient *client);
+

Get the URI that will be queried to determine if there is internet +connectivity.

+
+

Parameters

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

client

a NMClient

 
+
+
+

Returns

+

the connectivity URI in use.

+

[transfer none]

+
+

Since: 1.20

+
+
+

nm_client_get_logging ()

gboolean
 nm_client_get_logging (NMClient *client,
@@ -3339,6 +3391,132 @@ will be set. 


+

nm_client_add_connection2 ()

+
void
+nm_client_add_connection2 (NMClient *client,
+                           GVariant *settings,
+                           NMSettingsAddConnection2Flags flags,
+                           GVariant *args,
+                           gboolean ignore_out_result,
+                           GCancellable *cancellable,
+                           GAsyncReadyCallback callback,
+                           gpointer user_data);
+

Call AddConnection2() D-Bus API asynchronously.

+
+

Parameters

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

client

the NMClient

 

settings

the "a{sa{sv}}" GVariant with the content of the setting.

 

flags

the NMSettingsAddConnection2Flags argument.

 

args

the "a{sv}" GVariant with extra argument or NULL +for no extra arguments.

[allow-none]

ignore_out_result

this function wraps AddConnection2(), which has an +additional result "a{sv}" output parameter. By setting this to TRUE, +you signal that you are not interested in that output parameter. +This allows the function to fall back to AddConnection() and AddConnectionUnsaved(), +which is interesting if you run against an older server version that does +not yet provide AddConnection2(). By setting this to FALSE, the function +under the hood always calls AddConnection2().

 

cancellable

a GCancellable, or NULL

 

callback

callback to be called when the add operation completes.

[scope async]

user_data

caller-specific data passed to callback +.

[closure]
+
+

Since: 1.20

+
+
+
+

nm_client_add_connection2_finish ()

+
NMRemoteConnection *
+nm_client_add_connection2_finish (NMClient *client,
+                                  GAsyncResult *result,
+                                  GVariant **out_result,
+                                  GError **error);
+
+

Parameters

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

client

the NMClient

 

result

the GAsyncResult

 

out_result

the output GVariant +from AddConnection2(). +If you care about the output result, then the "ignore_out_result" +parameter of nm_client_add_connection2() must not be set to TRUE.

[allow-none][transfer full][out]

error

the error argument.

[allow-none]
+
+
+

Returns

+

on success, a pointer to the added +NMRemoteConnection.

+

[transfer full]

+
+

Since: 1.20

+
+
+

nm_client_load_connections ()

gboolean
 nm_client_load_connections (NMClient *client,
-- 
cgit 1.3.0-6-gf8a5