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 --- ...us-org.freedesktop.NetworkManager.Settings.html | 71 +++++++++++++++++++++- 1 file changed, 68 insertions(+), 3 deletions(-) (limited to 'docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html') diff --git a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html index c40fc600..a815251f 100644 --- a/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html +++ b/docs/api/html/gdbus-org.freedesktop.NetworkManager.Settings.html @@ -43,6 +43,11 @@ OUT o path); AddConnectionUnsaved (IN a{sa{sv}} connection, OUT o path); +AddConnection2 (IN a{sa{sv}} settings, + IN u flags, + IN a{sv} args, + OUT o path, + OUT a{sv} result); LoadConnections (IN as filenames, OUT b status, OUT as failures); @@ -158,9 +163,7 @@ AddConnectionUnsaved (IN a{sa{sv}} connection, does not start the network connection unless (1) device is idle and able to connect to the network described by the new connection, and (2) the connection is allowed to be started automatically. Use the 'Save' method - on the connection to save these changes to disk. Note that unsaved changes - will be lost if the connection is reloaded from disk (either automatically - on file change or due to an explicit ReloadConnections call). + on the connection to save these changes to disk.

@@ -181,6 +184,68 @@ AddConnectionUnsaved (IN a{sa{sv}} connection,
+

The AddConnection2() method

+
+AddConnection2 (IN  a{sa{sv}} settings,
+                IN  u         flags,
+                IN  a{sv}     args,
+                OUT o         path,
+                OUT a{sv}     result);
+
+

"0x1" (to-disk), + "0x2" (in-memory), + "0x20" (block-autoconnect). + Unknown flags cause the call to fail. + args: optional arguments dictionary, for extensibility. Currently no + arguments are accepted. Specifying unknown keys causes the call + to fail. + path: Object path of the new connection that was just added. + result: output argument, currently no additional results are returned. +

+

Add a new connection profile. +

+

Either the flags 0x1 (to-disk) or 0x2 (in-memory) must be specified. + The effect is whether to behave like AddConnection or AddConnectionUnsaved. + If 0x20 (block-autoconnect) is specified, autoconnect for the new profile + is blocked from the beginnin. Otherwise, the profile might automatically + connect if a suitable device is around. +

+

AddConnection2 is a extensible alternative to AddConnection, and AddConnectionUnsaved. + The new variant can do everything that the older variants could, and more. +

+

Since: 1.20 +

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

IN a{sa{sv}} settings:

New connection settings, properties, and (optionally) secrets.

IN u flags:

optional flags argument. Currently the following flags are supported:

IN a{sv} args:

OUT o path:

OUT a{sv} result:

+ +
+

The LoadConnections() method

 LoadConnections (IN  as filenames,
-- 
cgit 1.3.0-6-gf8a5