From 34bb501be08aa2b313d88e67d6e0a7e0a3f9cfa6 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 5 May 2024 00:07:30 +0200 Subject: New upstream version 1.47.90 --- docs/libnm/html/NMSettingConnection.html | 196 +++++++++++++++++++++++-------- 1 file changed, 144 insertions(+), 52 deletions(-) (limited to 'docs/libnm/html/NMSettingConnection.html') diff --git a/docs/libnm/html/NMSettingConnection.html b/docs/libnm/html/NMSettingConnection.html index 05979d17..ff6f1564 100644 --- a/docs/libnm/html/NMSettingConnection.html +++ b/docs/libnm/html/NMSettingConnection.html @@ -85,7 +85,7 @@ -gboolean +gboolean nm_setting_connection_get_autoconnect () @@ -117,7 +117,7 @@ -guint64 +guint64 nm_setting_connection_get_timestamp () @@ -125,7 +125,7 @@ -gboolean +gboolean nm_setting_connection_get_read_only () @@ -133,7 +133,7 @@ -guint32 +guint32 nm_setting_connection_get_num_permissions () @@ -141,7 +141,7 @@ -gboolean +gboolean nm_setting_connection_get_permission () @@ -156,7 +156,7 @@ -gboolean +gboolean nm_setting_connection_permissions_user_allowed () @@ -164,7 +164,7 @@ -gboolean +gboolean nm_setting_connection_add_permission () @@ -180,7 +180,7 @@ -gboolean +gboolean nm_setting_connection_remove_permission_by_value () @@ -202,7 +202,7 @@ -gboolean +gboolean nm_setting_connection_is_slave_type () @@ -240,7 +240,7 @@ -guint32 +guint32 nm_setting_connection_get_num_secondaries () @@ -255,7 +255,7 @@ -gboolean +gboolean nm_setting_connection_add_secondary () @@ -271,7 +271,7 @@ -gboolean +gboolean nm_setting_connection_remove_secondary_by_value () @@ -279,7 +279,7 @@ -guint32 +guint32 nm_setting_connection_get_gateway_ping_timeout () @@ -343,7 +343,7 @@ -gint32 +gint32 nm_setting_connection_get_wait_device_timeout () @@ -351,13 +351,21 @@ -gint32 +gint32 nm_setting_connection_get_wait_activation_delay () + +NMSettingConnectionDownOnPoweroff + + +nm_setting_connection_get_down_on_poweroff () + + + const char * @@ -516,6 +524,10 @@ NM_SETTING_CONNECTION_WAIT_ACTIVATION_DELAY +#define +NM_SETTING_CONNECTION_DOWN_ON_POWEROFF + + enum NMSettingConnectionAutoconnectSlaves @@ -535,6 +547,10 @@ enum NMSettingConnectionDnsOverTls + +enum +NMSettingConnectionDownOnPoweroff + @@ -543,6 +559,7 @@
    GEnum
     ├── NMSettingConnectionAutoconnectSlaves
     ├── NMSettingConnectionDnsOverTls
+    ├── NMSettingConnectionDownOnPoweroff
     ├── NMSettingConnectionLldp
     ├── NMSettingConnectionLlmnr
     ╰── NMSettingConnectionMdns
@@ -703,7 +720,7 @@ nm_setting_connection_get_connection_type
 

nm_setting_connection_get_autoconnect ()

-
gboolean
+
gboolean
 nm_setting_connection_get_autoconnect (NMSettingConnection *setting);

Returns the “autoconnect” property of the connection.

@@ -813,7 +830,7 @@ nm_setting_connection_get_multi_connect

nm_setting_connection_get_timestamp ()

-
guint64
+
guint64
 nm_setting_connection_get_timestamp (NMSettingConnection *setting);

Returns the “timestamp” property of the connection.

@@ -839,7 +856,7 @@ nm_setting_connection_get_timestamp (

nm_setting_connection_get_read_only ()

-
gboolean
+
gboolean
 nm_setting_connection_get_read_only (NMSettingConnection *setting);

nm_setting_connection_get_read_only has been deprecated since version 1.44 and should not be used in newly-written code.

@@ -863,13 +880,13 @@ nm_setting_connection_get_read_only (

Returns

-

TRUE if the connection is read-only, FALSE if it is not

+

TRUE if the connection is read-only, FALSE if it is not


nm_setting_connection_get_num_permissions ()

-
guint32
+
guint32
 nm_setting_connection_get_num_permissions
                                (NMSettingConnection *setting);

Returns the number of entries in the “permissions” @@ -897,9 +914,9 @@ property of this setting.


nm_setting_connection_get_permission ()

-
gboolean
+
gboolean
 nm_setting_connection_get_permission (NMSettingConnection *setting,
-                                      guint32 idx,
+                                      guint32 idx,
                                       const char **out_ptype,
                                       const char **out_pitem,
                                       const char **out_detail);
@@ -939,7 +956,7 @@ unless the entry is invalid, in which case it returns "invalid".

out_detail

-

on return, the permission detail (at this time, always NULL)

+

on return, the permission detail (at this time, always NULL)

  @@ -947,7 +964,7 @@ unless the entry is invalid, in which case it returns "invalid".

Returns

-

TRUE if a permission was returned, FALSE if idx +

TRUE if a permission was returned, FALSE if idx was invalid

@@ -980,7 +997,7 @@ nm_setting_connection_get_zone (

nm_setting_connection_permissions_user_allowed ()

-
gboolean
+
gboolean
 nm_setting_connection_permissions_user_allowed
                                (NMSettingConnection *setting,
                                 const char *uname);
@@ -1009,14 +1026,14 @@ nm_setting_connection_permissions_user_allowed

Returns

-

TRUE if the requested user is allowed to view this connection, -FALSE if the given user is not allowed to view this connection

+

TRUE if the requested user is allowed to view this connection, +FALSE if the given user is not allowed to view this connection


nm_setting_connection_add_permission ()

-
gboolean
+
gboolean
 nm_setting_connection_add_permission (NMSettingConnection *setting,
                                       const char *ptype,
                                       const char *pitem,
@@ -1052,7 +1069,7 @@ the "user" permission type is supported, and pitem
 
 

detail

-

unused at this time; must be NULL.

+

unused at this time; must be NULL.

[nullable] @@ -1060,13 +1077,13 @@ the "user" permission type is supported, and pitem

Returns

-

TRUE if the permission was unique and was successfully added to the -list, FALSE if ptype +

TRUE if the permission was unique and was successfully added to the +list, FALSE if ptype or pitem was invalid. If the permission was already present in the list, it will not be added -a second time but TRUE will be returned. Note that before 1.28, in this -case FALSE would be returned.

+a second time but TRUE will be returned. Note that before 1.28, in this +case FALSE would be returned.


@@ -1075,7 +1092,7 @@ case void nm_setting_connection_remove_permission (NMSettingConnection *setting, - guint32 idx);
+ guint32 idx);

Removes the permission at index idx from the connection.

@@ -1104,7 +1121,7 @@ nm_setting_connection_remove_permission

nm_setting_connection_remove_permission_by_value ()

-
gboolean
+
gboolean
 nm_setting_connection_remove_permission_by_value
                                (NMSettingConnection *setting,
                                 const char *ptype,
@@ -1141,7 +1158,7 @@ be a username. See “permissions”: for more details
 
 
 

detail

-

unused at this time; must be NULL.

+

unused at this time; must be NULL.

[nullable] @@ -1149,7 +1166,7 @@ be a username. See “permissions”: for more details

Returns

-

TRUE if the permission was found and removed; FALSE if it was not.

+

TRUE if the permission was found and removed; FALSE if it was not.


@@ -1159,7 +1176,7 @@ be a username. See “permissions”: for more details nm_setting_connection_get_master (NMSettingConnection *setting);

nm_setting_connection_get_master has been deprecated since version 1.46. and should not be used in newly-written code.

-

Use nm_setting_connection_get_controller() instead which +

Use nm_setting_connection_get_master() instead which is just an alias.

Returns the “master” property of the connection.

@@ -1215,7 +1232,7 @@ connection.


nm_setting_connection_is_slave_type ()

-
gboolean
+
gboolean
 nm_setting_connection_is_slave_type (NMSettingConnection *setting,
                                      const char *type);

nm_setting_connection_is_slave_type has been deprecated since version 1.46. and should not be used in newly-written code.

@@ -1245,7 +1262,7 @@ against setting

Returns

-

TRUE if connection is of the given slave type +

TRUE if connection is of the given slave type

@@ -1373,7 +1390,7 @@ with the connection.


nm_setting_connection_get_num_secondaries ()

-
guint32
+
guint32
 nm_setting_connection_get_num_secondaries
                                (NMSettingConnection *setting);
@@ -1401,7 +1418,7 @@ nm_setting_connection_get_num_secondaries

nm_setting_connection_get_secondary ()

const char *
 nm_setting_connection_get_secondary (NMSettingConnection *setting,
-                                     guint32 idx);
+ guint32 idx);

Parameters

@@ -1420,7 +1437,7 @@ nm_setting_connection_get_secondary (

idx

+NULL. Otherwise, it is a user error.

@@ -1430,14 +1447,14 @@ Access one past the length of secondaries is ok and will return

Returns

the secondary connection UUID at index idx or -NULL if idx +NULL if idx is the number of secondaries.


nm_setting_connection_add_secondary ()

-
gboolean
+
gboolean
 nm_setting_connection_add_secondary (NMSettingConnection *setting,
                                      const char *sec_uuid);

Adds a new secondary connection UUID to the setting.

@@ -1465,7 +1482,7 @@ nm_setting_connection_add_secondary (

Returns

-

TRUE if the secondary connection UUID was added; FALSE if the UUID +

TRUE if the secondary connection UUID was added; FALSE if the UUID was already present

@@ -1475,7 +1492,7 @@ was already present

void
 nm_setting_connection_remove_secondary
                                (NMSettingConnection *setting,
-                                guint32 idx);
+ guint32 idx);

Removes the secondary connection UUID at index idx .

@@ -1504,7 +1521,7 @@ nm_setting_connection_remove_secondary

nm_setting_connection_remove_secondary_by_value ()

-
gboolean
+
gboolean
 nm_setting_connection_remove_secondary_by_value
                                (NMSettingConnection *setting,
                                 const char *sec_uuid);
@@ -1534,13 +1551,13 @@ nm_setting_connection_remove_secondary_by_value

Returns

-

TRUE if the secondary connection UUID was found and removed; FALSE if it was not.

+

TRUE if the secondary connection UUID was found and removed; FALSE if it was not.


nm_setting_connection_get_gateway_ping_timeout ()

-
guint32
+
guint32
 nm_setting_connection_get_gateway_ping_timeout
                                (NMSettingConnection *setting);
@@ -1755,7 +1772,7 @@ nm_setting_connection_get_mptcp_flags (

nm_setting_connection_get_wait_device_timeout ()

-
gint32
+
gint32
 nm_setting_connection_get_wait_device_timeout
                                (NMSettingConnection *setting);
@@ -1783,7 +1800,7 @@ the timeout in milliseconds. -1 is the default.


nm_setting_connection_get_wait_activation_delay ()

-
gint32
+
gint32
 nm_setting_connection_get_wait_activation_delay
                                (NMSettingConnection *setting);
@@ -1810,6 +1827,35 @@ the delay in milliseconds. -1 is the default.


+

nm_setting_connection_get_down_on_poweroff ()

+
NMSettingConnectionDownOnPoweroff
+nm_setting_connection_get_down_on_poweroff
+                               (NMSettingConnection *setting);
+

Returns the NM_SETTING_CONNECTION_DOWN_ON_POWEROFF property.

+
+

Parameters

+

the zero-based index of the secondary connection UUID entry. Access one past the length of secondaries is ok and will return -NULL. Otherwise, it is a user error.

 
+++++ + + + + + +

setting

the NMSettingConnection

 
+
+
+

Returns

+

whether the connection will be brought down before the system +is powered off.

+
+

Since: 1.48

+
+
+

nm_setting_connection_get_mud_url ()

const char *
 nm_setting_connection_get_mud_url (NMSettingConnection *setting);
@@ -2046,6 +2092,12 @@ property.


+

NM_SETTING_CONNECTION_DOWN_ON_POWEROFF

+
#define NM_SETTING_CONNECTION_DOWN_ON_POWEROFF      "down-on-poweroff"
+
+
+
+

enum NMSettingConnectionAutoconnectSlaves

NMSettingConnectionAutoconnectSlaves has been deprecated since version 1.46 and should not be used in newly-written code.

NMSettingConnectionAutoconnectSlaves values indicate whether slave connections @@ -2264,6 +2316,46 @@ master is activated

Since: 1.34

+
+
+

enum NMSettingConnectionDownOnPoweroff

+

NMSettingConnectionDownOnPoweroff indicates whether the connection will be +brought down before the system is powered off.

+
+

Members

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

NM_SETTING_CONNECTION_DOWN_ON_POWEROFF_DEFAULT

+

default value

+
 

NM_SETTING_CONNECTION_DOWN_ON_POWEROFF_NO

+

disable down-on-poweroff

+
 

NM_SETTING_CONNECTION_DOWN_ON_POWEROFF_YES

+

enable down-on-poweroff

+
 
+
+

Since: 1.48

+